I’m trying to add a confirmation dialog to a binary switch entity. So far I haven’t been able to get it to work.
type: entities
entities:
- entity: sensor.greenhouse_temperature_humidity_greenhouse_temperature
- entity: sensor.greenhouse_temperature_humidity_greenhouse_humidity
- entity: switch.greenhouse_lights
- entity: switch.greenhouse_heater_greenhouse_heater
- entity: binary_sensor.front_door_1_front_door_1
- entity: binary_sensor.front_door_2_front_door_2
state_color: false
tap_action:
confirmation: Are You Sure?
action: toggle
I need it for switch.greenhouse_heater_greenhouse_heater but don’t really care if all entities on the card are included. The yaml looks right to me from reading the documentation but I don’t get a confirmation window when I tap the switch.
5 posts - 2 participants