HA自带的条件卡片用button-card怎么写啊
本帖最后由 466491587 于 2024-3-22 22:46 编辑大佬们,HA自带的条件按钮卡片,用button-card怎么写啊,自带的卡片在弹出卡片里面无法正常显示
type: conditional
conditions:
- condition: state
entity: light.lemesh_wy0c15_9302_light
state: 'on'
card:
show_name: true
show_icon: true
type: button
tap_action:
action: toggle
entity: switch.xiaomi_86v1_b2cb_left_switch_service
icon: mdi:track-light
show_state: false
name: 橱柜灯
页:
[1]