『瀚思彼岸』» 智能家居技术论坛

 找回密码
 立即注册
查看: 4944|回复: 2

[已解决] hacs插件vacuum-card如何使用?

[复制链接]

9

主题

56

帖子

665

积分

高级会员

Rank: 4

积分
665
金钱
609
HASS币
0
发表于 2021-6-14 12:21:59 | 显示全部楼层 |阅读模式
本帖最后由 unniversary 于 2021-6-15 00:51 编辑

已经在hacs商店自动下载了[color=var(--color-text-link)]vacuum-card插件,然后github使用方法(https://github.com/denysdovhan/vacuum-card)提示:Using the card
This card can be configured using Lovelace UI editor.
  • In Lovelace UI, click 3 dots in top left corner.
  • Click Configure UI.
  • Click Plus button to add a new card.
  • Find Custom: Vacuum Card in the list.
  • Choose entity.
  • Now you should see the preview of the card!
Sorry, no support for actions and stats in visual config yet.
但我不是很清楚如何去操作这几步?论坛里的朋友们可以帮忙讲解下应该如何操作吗??谢谢了

回复

使用道具 举报

0

主题

173

帖子

1403

积分

金牌会员

Rank: 6Rank: 6

积分
1403
金钱
1230
HASS币
0
发表于 2021-6-14 16:45:57 | 显示全部楼层
本帖最后由 jasonlai79 于 2021-6-14 16:49 编辑

type: custom:vacuum-card
entity: vacuum.roborock_s5_max
compact_view: false
stats:
  default:
    - attribute: filter_left
      unit: 小時
      subtitle: 濾網
    - attribute: side_brush_left
      unit: 小時
      subtitle: 邊刷
    - attribute: main_brush_left
      unit: 小時
      subtitle: 主刷
    - attribute: sensor_dirty_left
      unit: 小時
      subtitle: 感測器維修
  cleaning:
    - attribute: cleaned_area
      unit: m2
      subtitle: 清掃面積
    - attribute: cleaning_time
      unit: minutes
      subtitle: 清掃時間
show_toolbar: true
map: camera.roborock_s5_max_map
紅色部分換成你的
回复

使用道具 举报

9

主题

56

帖子

665

积分

高级会员

Rank: 4

积分
665
金钱
609
HASS币
0
 楼主| 发表于 2021-6-15 00:51:20 | 显示全部楼层
jasonlai79 发表于 2021-6-14 16:45
type: custom:vacuum-card
entity: vacuum.roborock_s5_max
compact_view: false

非常感谢,已经可以了,谢谢
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-5-22 12:28 , Processed in 0.047064 second(s), 24 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表