Compare commits
No commits in common. "a388534a9555e39a03dd627dd02b528aaf878830" and "03c6da9921bb7fddadffccb46264617ac98c29df" have entirely different histories.
a388534a95
...
03c6da9921
@ -1,10 +1,9 @@
|
|||||||
- id: alarm-clock-automation
|
- id: alarm-clock-automation
|
||||||
alias: '[Alarm-Clock] Wakeup automation'
|
alias: '[Alarm-Clock] Wakeup automation'
|
||||||
trigger:
|
trigger:
|
||||||
- platform: calendar
|
- platform: state
|
||||||
event: start
|
|
||||||
offset: '-0:30:0'
|
|
||||||
entity_id: calendar.automations_wakeup
|
entity_id: calendar.automations_wakeup
|
||||||
|
to: 'on'
|
||||||
action:
|
action:
|
||||||
- service: automation.turn_off
|
- service: automation.turn_off
|
||||||
target:
|
target:
|
||||||
@ -39,14 +38,9 @@
|
|||||||
seconds: 180
|
seconds: 180
|
||||||
- choose:
|
- choose:
|
||||||
- conditions:
|
- conditions:
|
||||||
- condition: or
|
- condition: state
|
||||||
conditions:
|
entity_id: alarm_control_panel.home_alarm
|
||||||
- condition: state
|
state: disarmed
|
||||||
entity_id: alarm_control_panel.home_alarm
|
|
||||||
state: armed_home
|
|
||||||
- condition: state
|
|
||||||
entity_id: alarm_control_panel.home_alarm
|
|
||||||
state: disarmed
|
|
||||||
sequence:
|
sequence:
|
||||||
- service: media_player.volume_set
|
- service: media_player.volume_set
|
||||||
data:
|
data:
|
||||||
|
@ -9,8 +9,8 @@
|
|||||||
action:
|
action:
|
||||||
- service: script.bedroom_bed_lamp_toggle
|
- service: script.bedroom_bed_lamp_toggle
|
||||||
|
|
||||||
- id: bedroom-bed-sleep-morning
|
- id: bedroom-bed-sleep
|
||||||
alias: '[Bedroom] Bed Sleep/Morning'
|
alias: '[Bedroom] Bed Sleep'
|
||||||
trigger:
|
trigger:
|
||||||
- device_id: 0d584dbfe721e00880b38c4dfc1c108e
|
- device_id: 0d584dbfe721e00880b38c4dfc1c108e
|
||||||
domain: zha
|
domain: zha
|
||||||
@ -24,17 +24,4 @@
|
|||||||
entity_id: input_select.home_mode
|
entity_id: input_select.home_mode
|
||||||
state: Away
|
state: Away
|
||||||
action:
|
action:
|
||||||
- choose:
|
- service: script.good_night
|
||||||
- conditions:
|
|
||||||
- condition: state
|
|
||||||
entity_id: input_select.home_mode
|
|
||||||
state: Day
|
|
||||||
sequence:
|
|
||||||
- service: script.good_night
|
|
||||||
- conditions:
|
|
||||||
- condition: state
|
|
||||||
entity_id: input_select.home_mode
|
|
||||||
state: Night
|
|
||||||
sequence:
|
|
||||||
- service: script.good_morning
|
|
||||||
|
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
# Single click
|
# Single click
|
||||||
- id: bedroom-button-turn-on
|
- id: bedroom-button-turn-on
|
||||||
alias: '[Bedroom] Button Turn On'
|
alias: '[Bedroom] Button Turn On'
|
||||||
mode: single
|
|
||||||
trigger:
|
trigger:
|
||||||
- device_id: 15b083b6b5e2acb5d37fbbfbfc76281f
|
- device_id: 15b083b6b5e2acb5d37fbbfbfc76281f
|
||||||
domain: zha
|
domain: zha
|
||||||
@ -10,10 +9,10 @@
|
|||||||
subtype: turn_on
|
subtype: turn_on
|
||||||
action:
|
action:
|
||||||
- service: script.bedroom_lights_on
|
- service: script.bedroom_lights_on
|
||||||
|
mode: single
|
||||||
|
|
||||||
- id: bedroom-button-turn-off
|
- id: bedroom-button-turn-off
|
||||||
alias: '[Bedroom] Button Turn Off'
|
alias: '[Bedroom] Button Turn Off'
|
||||||
mode: single
|
|
||||||
trigger:
|
trigger:
|
||||||
- device_id: 15b083b6b5e2acb5d37fbbfbfc76281f
|
- device_id: 15b083b6b5e2acb5d37fbbfbfc76281f
|
||||||
domain: zha
|
domain: zha
|
||||||
@ -22,10 +21,10 @@
|
|||||||
subtype: turn_off
|
subtype: turn_off
|
||||||
action:
|
action:
|
||||||
- service: script.bedroom_all_lights_off
|
- service: script.bedroom_all_lights_off
|
||||||
|
mode: single
|
||||||
|
|
||||||
- id: bedroom-button-dim-up
|
- id: bedroom-button-dim-up
|
||||||
alias: '[Bedroom] Button Dim Up'
|
alias: '[Bedroom] Button Dim Up'
|
||||||
mode: single
|
|
||||||
trigger:
|
trigger:
|
||||||
- device_id: 15b083b6b5e2acb5d37fbbfbfc76281f
|
- device_id: 15b083b6b5e2acb5d37fbbfbfc76281f
|
||||||
domain: zha
|
domain: zha
|
||||||
@ -37,10 +36,10 @@
|
|||||||
data:
|
data:
|
||||||
brightness_step_pct: 10
|
brightness_step_pct: 10
|
||||||
entity_id: light.bedroom_lights
|
entity_id: light.bedroom_lights
|
||||||
|
mode: single
|
||||||
|
|
||||||
- id: bedroom-button-dim-down
|
- id: bedroom-button-dim-down
|
||||||
alias: '[Bedroom] Button Dim Down'
|
alias: '[Bedroom] Button Dim Down'
|
||||||
mode: single
|
|
||||||
trigger:
|
trigger:
|
||||||
- device_id: 15b083b6b5e2acb5d37fbbfbfc76281f
|
- device_id: 15b083b6b5e2acb5d37fbbfbfc76281f
|
||||||
domain: zha
|
domain: zha
|
||||||
@ -52,11 +51,11 @@
|
|||||||
data:
|
data:
|
||||||
brightness_step_pct: -10
|
brightness_step_pct: -10
|
||||||
entity_id: light.bedroom_lights
|
entity_id: light.bedroom_lights
|
||||||
|
mode: single
|
||||||
|
|
||||||
# Double click
|
# Double click
|
||||||
- id: bedroom-button-dim-up-double
|
- id: bedroom-button-dim-up-double
|
||||||
alias: '[Bedroom] Button Dim Up Double'
|
alias: '[Bedroom] Button Dim Up Double'
|
||||||
mode: single
|
|
||||||
trigger:
|
trigger:
|
||||||
- device_id: 15b083b6b5e2acb5d37fbbfbfc76281f
|
- device_id: 15b083b6b5e2acb5d37fbbfbfc76281f
|
||||||
domain: zha
|
domain: zha
|
||||||
@ -69,10 +68,10 @@
|
|||||||
brightness_pct: 90
|
brightness_pct: 90
|
||||||
kelvin: 3200
|
kelvin: 3200
|
||||||
entity_id: light.bedroom_lights
|
entity_id: light.bedroom_lights
|
||||||
|
mode: single
|
||||||
|
|
||||||
- id: bedroom-button-dim-down-double
|
- id: bedroom-button-dim-down-double
|
||||||
alias: '[Bedroom] Button Dim Up'
|
alias: '[Bedroom] Button Dim Up'
|
||||||
mode: single
|
|
||||||
trigger:
|
trigger:
|
||||||
- device_id: 15b083b6b5e2acb5d37fbbfbfc76281f
|
- device_id: 15b083b6b5e2acb5d37fbbfbfc76281f
|
||||||
domain: zha
|
domain: zha
|
||||||
@ -85,30 +84,4 @@
|
|||||||
brightness_pct: 10
|
brightness_pct: 10
|
||||||
kelvin: 2000
|
kelvin: 2000
|
||||||
entity_id: light.bedroom_lights
|
entity_id: light.bedroom_lights
|
||||||
|
|
||||||
# Held
|
|
||||||
- id: bedroom-button-turn-on-held
|
|
||||||
alias: '[Bedroom] Button Blinds up'
|
|
||||||
mode: single
|
mode: single
|
||||||
trigger:
|
|
||||||
- device_id: 15b083b6b5e2acb5d37fbbfbfc76281f
|
|
||||||
domain: zha
|
|
||||||
platform: device
|
|
||||||
type: remote_button_long_press
|
|
||||||
subtype: turn_on
|
|
||||||
action:
|
|
||||||
- service: cover.open_cover
|
|
||||||
entity_id: cover.bedroom_blinds
|
|
||||||
|
|
||||||
- id: bedroom-button-turn-off-held
|
|
||||||
alias: '[Bedroom] Button Blinds down'
|
|
||||||
mode: single
|
|
||||||
trigger:
|
|
||||||
- device_id: 15b083b6b5e2acb5d37fbbfbfc76281f
|
|
||||||
domain: zha
|
|
||||||
platform: device
|
|
||||||
type: remote_button_long_press
|
|
||||||
subtype: turn_off
|
|
||||||
action:
|
|
||||||
- service: cover.close_cover
|
|
||||||
entity_id: cover.bedroom_blinds
|
|
||||||
|
@ -1,16 +1,19 @@
|
|||||||
- id: goto_sleep
|
- id: goto_sleep
|
||||||
alias: '[Behaviour] Go to sleep'
|
alias: '[Behaviour] Go to sleep'
|
||||||
mode: single
|
description: ''
|
||||||
trigger:
|
trigger:
|
||||||
- platform: calendar
|
- platform: time
|
||||||
event: start
|
at: '23:25'
|
||||||
offset: '-9:35:0'
|
- platform: time
|
||||||
entity_id: calendar.automations_wakeup
|
at: '23:55'
|
||||||
- platform: calendar
|
|
||||||
event: start
|
|
||||||
offset: '-9:05:0'
|
|
||||||
entity_id: calendar.automations_wakeup
|
|
||||||
condition:
|
condition:
|
||||||
|
- condition: time
|
||||||
|
weekday:
|
||||||
|
- mon
|
||||||
|
- tue
|
||||||
|
- wed
|
||||||
|
- thu
|
||||||
|
- sun
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: binary_sensor.hulk_ping
|
entity_id: binary_sensor.hulk_ping
|
||||||
state: 'on'
|
state: 'on'
|
||||||
@ -50,16 +53,22 @@
|
|||||||
- service: light.turn_off
|
- service: light.turn_off
|
||||||
target:
|
target:
|
||||||
entity_id: light.office_light_up
|
entity_id: light.office_light_up
|
||||||
|
|
||||||
- id: goto_sleep_2
|
|
||||||
alias: '[Behaviour] Go to sleep (hard cutoff)'
|
|
||||||
mode: single
|
mode: single
|
||||||
|
|
||||||
|
- id: goto_sleep-2
|
||||||
|
alias: '[Behaviour] Go to sleep 2 (next day)'
|
||||||
|
description: ''
|
||||||
trigger:
|
trigger:
|
||||||
- platform: calendar
|
- platform: time
|
||||||
event: start
|
at: '0:25'
|
||||||
offset: '-8:35:0'
|
|
||||||
entity_id: calendar.automations_wakeup
|
|
||||||
condition:
|
condition:
|
||||||
|
- condition: time
|
||||||
|
weekday:
|
||||||
|
- mon
|
||||||
|
- tue
|
||||||
|
- wed
|
||||||
|
- thu
|
||||||
|
- fri
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: binary_sensor.hulk_ping
|
entity_id: binary_sensor.hulk_ping
|
||||||
state: 'on'
|
state: 'on'
|
||||||
@ -73,14 +82,61 @@
|
|||||||
- 0
|
- 0
|
||||||
target:
|
target:
|
||||||
entity_id: light.office_light_up
|
entity_id: light.office_light_up
|
||||||
|
- delay: '0:05:00'
|
||||||
|
- choose:
|
||||||
|
- conditions:
|
||||||
|
- condition: state
|
||||||
|
entity_id: binary_sensor.hulk_ping
|
||||||
|
state: 'on'
|
||||||
|
- condition: state
|
||||||
|
entity_id: input_boolean.pc_caffeine
|
||||||
|
state: 'off'
|
||||||
|
sequence:
|
||||||
|
- service: shell_command.pc_poweroff
|
||||||
|
- choose:
|
||||||
|
- conditions:
|
||||||
|
- condition: state
|
||||||
|
entity_id: binary_sensor.hulk_ping
|
||||||
|
state: 'on'
|
||||||
|
- condition: state
|
||||||
|
entity_id: input_boolean.pc_caffeine
|
||||||
|
state: 'on'
|
||||||
|
sequence:
|
||||||
|
- service: input_boolean.turn_off
|
||||||
|
target:
|
||||||
|
entity_id: input_boolean.pc_caffeine
|
||||||
|
- service: light.turn_off
|
||||||
|
target:
|
||||||
|
entity_id: light.office_light_up
|
||||||
|
mode: single
|
||||||
|
|
||||||
|
- id: goto_sleep-
|
||||||
|
alias: '[Behaviour] Go to sleep 3 (hard cutoff)'
|
||||||
|
description: ''
|
||||||
|
trigger:
|
||||||
|
- platform: time
|
||||||
|
at: '0:55'
|
||||||
|
condition:
|
||||||
|
- condition: time
|
||||||
|
weekday:
|
||||||
|
- mon
|
||||||
|
- tue
|
||||||
|
- wed
|
||||||
|
- thu
|
||||||
|
- fri
|
||||||
|
- condition: state
|
||||||
|
entity_id: binary_sensor.hulk_ping
|
||||||
|
state: 'on'
|
||||||
|
action:
|
||||||
- service: light.turn_on
|
- service: light.turn_on
|
||||||
data:
|
data:
|
||||||
|
flash: long
|
||||||
rgb_color:
|
rgb_color:
|
||||||
- 255
|
- 255
|
||||||
- 0
|
- 0
|
||||||
- 0
|
- 0
|
||||||
target:
|
target:
|
||||||
entity_id: light.office
|
entity_id: light.office_light_up
|
||||||
- delay: '0:05:00'
|
- delay: '0:05:00'
|
||||||
- service: shell_command.pc_poweroff
|
- service: shell_command.pc_poweroff
|
||||||
- service: input_boolean.turn_off
|
- service: input_boolean.turn_off
|
||||||
@ -93,3 +149,4 @@
|
|||||||
- service: switch.turn_off
|
- service: switch.turn_off
|
||||||
target:
|
target:
|
||||||
entity_id: switch.computer_outlet
|
entity_id: switch.computer_outlet
|
||||||
|
mode: single
|
||||||
|
@ -2,12 +2,12 @@
|
|||||||
alias: "[Calendar] Coffee machine"
|
alias: "[Calendar] Coffee machine"
|
||||||
mode: single
|
mode: single
|
||||||
trigger:
|
trigger:
|
||||||
- platform: calendar
|
- platform: state
|
||||||
event: start
|
|
||||||
entity_id: calendar.automations_caffeine_free_time
|
entity_id: calendar.automations_caffeine_free_time
|
||||||
- platform: calendar
|
to: 'on'
|
||||||
event: start
|
- platform: state
|
||||||
entity_id: calendar.automations_sleep
|
entity_id: calendar.automations_sleep
|
||||||
|
to: 'on'
|
||||||
action:
|
action:
|
||||||
- service: switch.turn_off
|
- service: switch.turn_off
|
||||||
target:
|
target:
|
||||||
@ -17,12 +17,12 @@
|
|||||||
alias: "[Calendar] Coffee machine"
|
alias: "[Calendar] Coffee machine"
|
||||||
mode: single
|
mode: single
|
||||||
trigger:
|
trigger:
|
||||||
- platform: calendar
|
- platform: state
|
||||||
event: end
|
|
||||||
entity_id: calendar.automations_caffeine_free_time
|
entity_id: calendar.automations_caffeine_free_time
|
||||||
- platform: calendar
|
to: 'off'
|
||||||
event: end
|
- platform: state
|
||||||
entity_id: calendar.automations_sleep
|
entity_id: calendar.automations_sleep
|
||||||
|
to: 'off'
|
||||||
condition:
|
condition:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: calendar.automations_caffeine_free_time
|
entity_id: calendar.automations_caffeine_free_time
|
||||||
|
@ -2,10 +2,9 @@
|
|||||||
alias: '[F1] Automation'
|
alias: '[F1] Automation'
|
||||||
mode: single
|
mode: single
|
||||||
trigger:
|
trigger:
|
||||||
- platform: calendar
|
- platform: state
|
||||||
event: start
|
|
||||||
offset: '-0:05:0'
|
|
||||||
entity_id: calendar.2021_fia_formula_one_world_championship_race_calendar
|
entity_id: calendar.2021_fia_formula_one_world_championship_race_calendar
|
||||||
|
to: 'on'
|
||||||
condition:
|
condition:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: input_select.home_mode
|
entity_id: input_select.home_mode
|
||||||
|
@ -1,15 +0,0 @@
|
|||||||
- id: notify-slow-internet
|
|
||||||
alias: '[Notify] Slow internet'
|
|
||||||
mode: single
|
|
||||||
trigger:
|
|
||||||
- platform: numeric_state
|
|
||||||
entity_id: sensor.speedtest_download
|
|
||||||
for:
|
|
||||||
hours: 0
|
|
||||||
minutes: 15
|
|
||||||
seconds: 0
|
|
||||||
below: '110'
|
|
||||||
action:
|
|
||||||
- service: notify.mobile_app_iphone_pg
|
|
||||||
data:
|
|
||||||
message: Internet speed fell down to 100 Mbit
|
|
@ -41,8 +41,6 @@
|
|||||||
entity_id: alarm_control_panel.home_alarm
|
entity_id: alarm_control_panel.home_alarm
|
||||||
state: 'armed_home'
|
state: 'armed_home'
|
||||||
sequence:
|
sequence:
|
||||||
- service: alarm_control_panel.alarm_disarm
|
|
||||||
entity_id: alarm_control_panel.home_alarm
|
|
||||||
- service: alarm_control_panel.alarm_arm_away
|
- service: alarm_control_panel.alarm_arm_away
|
||||||
entity_id: alarm_control_panel.home_alarm
|
entity_id: alarm_control_panel.home_alarm
|
||||||
|
|
||||||
|
@ -18,8 +18,6 @@ vacuum_today:
|
|||||||
entity_id: alarm_control_panel.home_alarm
|
entity_id: alarm_control_panel.home_alarm
|
||||||
state: 'arming'
|
state: 'arming'
|
||||||
sequence:
|
sequence:
|
||||||
- service: alarm_control_panel.alarm_disarm
|
|
||||||
entity_id: alarm_control_panel.home_alarm
|
|
||||||
- service: alarm_control_panel.alarm_arm_home
|
- service: alarm_control_panel.alarm_arm_home
|
||||||
entity_id: alarm_control_panel.home_alarm
|
entity_id: alarm_control_panel.home_alarm
|
||||||
- service: vacuum.start
|
- service: vacuum.start
|
||||||
@ -31,7 +29,7 @@ vacuum_goto_bin:
|
|||||||
- service: mqtt.publish
|
- service: mqtt.publish
|
||||||
data:
|
data:
|
||||||
topic: valetudo/ValetudoS5/GoToLocationCapability/go/set
|
topic: valetudo/ValetudoS5/GoToLocationCapability/go/set
|
||||||
payload: '{"coordinates":{"x":2473,"y":2780}}'
|
payload: 55609b09-2d32-4f52-b939-94363172256d
|
||||||
|
|
||||||
vacuum_clean_segments:
|
vacuum_clean_segments:
|
||||||
alias: Vacuum clean segments
|
alias: Vacuum clean segments
|
||||||
|
Loading…
Reference in New Issue
Block a user