diff --git a/www/custom_ui/floorplan/clock.yaml b/www/custom_ui/floorplan/clock.yaml index b8dab5df..98d1aa7e 100755 --- a/www/custom_ui/floorplan/clock.yaml +++ b/www/custom_ui/floorplan/clock.yaml @@ -25,12 +25,16 @@ rules: - entity: input_boolean.clock_snooze image_template: '/local/custom_ui/floorplan/buttons/${(entity.state === "on") ? "snooze_on" : "snooze"}.svg' action: - service: homeassistant.toggle + service: input_boolean.toggle + data: + entity_id: input_boolean.clock_snooze - entity: input_boolean.school_mode image_template: '/local/custom_ui/floorplan/buttons/${(entity.state === "on") ? "school_on" : "school_off"}.svg' action: - service: homeassistant.toggle + service: input_boolean.toggle + data: + entity_id: input_boolean.school_mode - entity: media_player.alarm_clock image_template: '/local/custom_ui/floorplan/buttons/${(entity.state === "playing") ? "stop" : "radio_on"}.svg'