mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-06-09 23:02:59 +00:00
56 lines
1.3 KiB
YAML
56 lines
1.3 KiB
YAML
input_boolean:
|
|
domestina:
|
|
name: Domestina time
|
|
icon: mdi:broom
|
|
|
|
automation:
|
|
- 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
|