是不是这个意思
- type: image
entity: light.sonoff_m5_left_button
tap_action:
action: toggle
image: /local/img/light_bulb_off.png
state_image:
"on": /local/img/light_bulb_on.png
state_filter:
"on": brightness(130%) saturate(1.5) drop-shadow(0px 0px 10px gold)
"off": brightness(80%) saturate(0.8)
style:
top: 57%
left: 70%
width: 6%
padding: 10px
|