I am obviously overlooking something simple here, but I cannot get my tap action to call a service. When I hover, it shows “More info” for hold, but nothing for tap. here is my code:
- type: state-icon
entity: climate.upstairs
style:
top: 75%
left: 30%
tap_action:
action: call-service
service: climate.set_hvac_mode
data:
hvac_mode: 'off'
target:
entity_id: climate.upstairs
I get an error saying “Required key not provided”
Any thoughts?