I feel as though I have tried everything. Why can’t my image or even my state-icon do any actions?
title: My Awesome Home
views:
- icon: mdi:home-assistant
id: home
title: Home Floor Plan
cards:
- type: picture-elements
image: /local/custom_ui/floorplan/floorplan.png
title: Main level
elements:
- type: image
entity: light.holiday_lights
tap_action: #toggle
action: toggle
image: /local/Livingcutout1.png
state_image:
"on": /local/lightson.png
"off": /local/lightsout.png
state_filter:
"on": brightness(100%) saturate(1.2)
"off": brightness(50%)
filter: saturate(.8)
style:
top: 74.0%
left: 35.0%
width: 61.4%
- type: state-icon
entity: light.holiday_lights
tap_action: #toggle
action: toggle
style:
top: 78%
left: 32%