mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-06-15 17:12:59 +00:00
50 lines
1.1 KiB
YAML
50 lines
1.1 KiB
YAML
- alias: Domestina - Automate Start
|
|
trigger:
|
|
platform: time
|
|
at: "08:30:00"
|
|
condition:
|
|
- condition: time
|
|
weekday: thu
|
|
action:
|
|
- service: input_boolean.turn_on
|
|
entity_id: input_boolean.domestina
|
|
|
|
- alias: Domestina - Start
|
|
trigger:
|
|
platform: state
|
|
entity_id: input_boolean.domestina
|
|
from: "off"
|
|
to: "on"
|
|
action:
|
|
- service: input_boolean.turn_on
|
|
entity_id: input_boolean.guest_mode
|
|
- service: automation.turn_off
|
|
entity_id:
|
|
- automation.cube_knock
|
|
- automation.cube_shake
|
|
|
|
- alias: Domestina - Automate End
|
|
trigger:
|
|
platform: time
|
|
at: "13:00:00"
|
|
condition:
|
|
- condition: time
|
|
weekday: thu
|
|
action:
|
|
- service: input_boolean.turn_off
|
|
entity_id: input_boolean.domestina
|
|
|
|
- alias: Domestina - End
|
|
trigger:
|
|
platform: state
|
|
entity_id: input_boolean.domestina
|
|
from: "on"
|
|
to: "off"
|
|
action:
|
|
- service: input_boolean.turn_off
|
|
entity_id: input_boolean.guest_mode
|
|
- service: automation.turn_on
|
|
entity_id:
|
|
- automation.cube_knock
|
|
- automation.cube_shake
|