Hi,
I used a number to control a fancoil in a room.
I managed to change the icon color on my picture elements when the number is not zero, but had no luck with the tap-action on the entity.
type: picture-elements
elements:
- type: custom:config-template-card
variables:
- states['number.fan'].state
entities: number.fan
element:
type: icon
icon: mdi:fan
style:
color: '${vars[0] == 0 ? ''#44739e'' : ''#fdd835''}'
style:
top: 67%
left: 35%
Is there anyone who can help me? I’ve been stuck on this problem for a while now but it keeps me giving me the error in the picture
“No entity provided for dialogue box with further information”