mattius
(Matt Inglis)
1
I have a picture elements display, im trying to disable clicking on state images
But even with
tap-action:
action: none
and
hold-action:
action: none
when you click on the image, it brings up an entity
State in question:
- type: image
entity: light.bedroom
image: /local/house/Transparent.png
state_image:
'on': /local/house/MasterBedroom_On.png
'off': /local/house/Transparent.png
style:
top: 50%
left: 50%
width: 100%
height: 100%
tap-action:
action: none
hold-action:
action: none
pointer-events: none
tap_action, hold_action
pointer-events is misplaced; in fact - not needed.
mattius
(Matt Inglis)
3
Not clear what you mean,
Do you mean like this?
Still doesn’t work, clicking the image still shows the entity
- type: image
entity: light.bedroom
tap-action:
action: none
hold-action:
action: none
image: /local/house/Transparent.png
state_image:
'on': /local/house/MasterBedroom_On.png
'off': /local/house/Transparent.png
style:
top: 50%
left: 50%
width: 100%
height: 100%
Home Assistant doesn’t like the format you typed
siburny
(Maxim Rubis)
4
In case someone stumbles upon this thread, correct properties are tap_action
and hold_action
(with underlines)