mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-08-20 20:16:52 +00:00
Found a way to fix the Clock!
This commit is contained in:
@@ -25,12 +25,16 @@ rules:
|
|||||||
- entity: input_boolean.clock_snooze
|
- entity: input_boolean.clock_snooze
|
||||||
image_template: '/local/custom_ui/floorplan/buttons/${(entity.state === "on") ? "snooze_on" : "snooze"}.svg'
|
image_template: '/local/custom_ui/floorplan/buttons/${(entity.state === "on") ? "snooze_on" : "snooze"}.svg'
|
||||||
action:
|
action:
|
||||||
service: homeassistant.toggle
|
service: input_boolean.toggle
|
||||||
|
data:
|
||||||
|
entity_id: input_boolean.clock_snooze
|
||||||
|
|
||||||
- entity: input_boolean.school_mode
|
- entity: input_boolean.school_mode
|
||||||
image_template: '/local/custom_ui/floorplan/buttons/${(entity.state === "on") ? "school_on" : "school_off"}.svg'
|
image_template: '/local/custom_ui/floorplan/buttons/${(entity.state === "on") ? "school_on" : "school_off"}.svg'
|
||||||
action:
|
action:
|
||||||
service: homeassistant.toggle
|
service: input_boolean.toggle
|
||||||
|
data:
|
||||||
|
entity_id: input_boolean.school_mode
|
||||||
|
|
||||||
- entity: media_player.alarm_clock
|
- entity: media_player.alarm_clock
|
||||||
image_template: '/local/custom_ui/floorplan/buttons/${(entity.state === "playing") ? "stop" : "radio_on"}.svg'
|
image_template: '/local/custom_ui/floorplan/buttons/${(entity.state === "playing") ? "stop" : "radio_on"}.svg'
|
||||||
|
Reference in New Issue
Block a user