我已经更新了版本,所以新版本是1.0.0。
打破变化
- 删除
色调
和饱和
配置选项。从现在开始颜色
必须在卡配置和严重性配置中使用。
更新
- 更新版本控制。
- 添加
ENTITY_CONFIG
配置选项。启用将实体属性用作配置选项。
- 添加
能见度
配置选项。允许根据条件隐藏条。
- 添加
Tap_Action
配置选项。点击栏时选择动作。
- 添加
service_config
配置选项。使用时配置选项列表服务
选项Tap_Action
。
- 优化的框架动画框架。
伟德国际官方app下载苹果版
服务电话
- 类型:自定义:酒吧卡标题:服务通话实体:传感器。Exampletap_action:Service Service_options:域:MQTT服务:发布数据:主题:“示例”
实体配置
- type: custom:bar-card padding: 2px entity_config: true show_icon: true align: split indicator: right entities: # Batteries - entity: sensor.lucas_phone_battery - entity: sensor.lucas_tablet_battery # Plants - entity: sensor.living_room_plant_1_moisture - entity:Sensor.living_room_plant_2_moisture-实体:sensor.living_room_plant_3_moisture-实体:sensor.bedroom_plant_1_moisture
什么时候ENTITY_CONFIG
在卡配置中启用将使用实体属性中定义的选项。这使您可以在UI中重新使用bar配置,而无需定义每次使用的选项。结合能见度
配置选项您将能够定义只有在特定阈值以下时可见的条列表。
customize.yaml
Sensor.bedroom_plant_1_moisture:图标:MDI:叶子标题:兰花目标:30最大:50可见性:'<15'严重性: - 值:10颜色:var( - bar-red) - var( - bar-red) - value:20颜色:var( -bar-yellow) - 值:50颜色:var(-bar-green)