Compare commits
2 Commits
54c9444095
...
7451b3adcc
Author | SHA1 | Date | |
---|---|---|---|
|
7451b3adcc | ||
|
af6f11a50f |
@ -36,3 +36,23 @@
|
||||
- service: switch.turn_on
|
||||
target:
|
||||
entity_id: switch.coffee_machine_on_off
|
||||
|
||||
- id: calendar-before-wakeup
|
||||
alias: "[Calendar] Before wakeup"
|
||||
mode: single
|
||||
trigger:
|
||||
- platform: calendar
|
||||
event: start
|
||||
entity_id: calendar.automations_wakeup
|
||||
offset: '-1:00:0'
|
||||
condition:
|
||||
- condition: or
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: alarm_control_panel.home_alarm
|
||||
state: armed_home
|
||||
- condition: state
|
||||
entity_id: alarm_control_panel.home_alarm
|
||||
state: disarmed
|
||||
action:
|
||||
- service: script.before_wakeup
|
@ -85,6 +85,17 @@ good_night:
|
||||
mode: single
|
||||
icon: mdi:weather-night
|
||||
|
||||
before_wakeup:
|
||||
alias: Before wakeup
|
||||
sequence:
|
||||
- service: climate.set_temperature
|
||||
data:
|
||||
temperature: 25
|
||||
target:
|
||||
entity_id:
|
||||
- climate.office_thermostat
|
||||
- climate.dining_thermostat
|
||||
|
||||
good_morning:
|
||||
alias: Good Morning
|
||||
sequence:
|
||||
|
@ -1,6 +1,10 @@
|
||||
cctv_on:
|
||||
alias: CCTV on
|
||||
sequence:
|
||||
- service: switch.turn_on
|
||||
target:
|
||||
entity_id:
|
||||
- switch.usb_switch_3
|
||||
- service: switch.turn_on
|
||||
target:
|
||||
entity_id:
|
||||
@ -14,6 +18,10 @@ cctv_on:
|
||||
cctv_off:
|
||||
alias: CCTV off
|
||||
sequence:
|
||||
- service: switch.turn_off
|
||||
target:
|
||||
entity_id:
|
||||
- switch.usb_switch_3
|
||||
- service: switch.turn_off
|
||||
target:
|
||||
entity_id:
|
||||
|
Loading…
Reference in New Issue
Block a user