5121 lines
128 KiB
YAML
5121 lines
128 KiB
YAML
- alias: 3D-Printer - Prusa MK4 Print Finished
|
|
id: 3d_printer_prusa_mk4_print_finished
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: sensor.prusa_mk4
|
|
to: finished
|
|
conditions:
|
|
- condition: state
|
|
entity_id: input_boolean.disable_notifications
|
|
state: 'off'
|
|
actions:
|
|
- action: notify.mobile_app_USER1_iphone
|
|
data:
|
|
message: 3D Print Complete
|
|
data:
|
|
tag: prusa_mk4_finished
|
|
group: 3d_printer
|
|
- alias: 3D-Printer - Prusa MK4 Print Error
|
|
id: 3d_printer_prusa_mk4_print_error
|
|
triggers:
|
|
- trigger: numeric_state
|
|
entity_id: sensor.prusa_mk4_nozzle_temperature
|
|
below: 165
|
|
for:
|
|
hours: 0
|
|
minutes: 1
|
|
seconds: 0
|
|
conditions:
|
|
- condition: state
|
|
entity_id: input_boolean.disable_notifications
|
|
state: 'off'
|
|
- condition: state
|
|
entity_id: sensor.prusa_mk4
|
|
state: printing
|
|
actions:
|
|
- action: notify.mobile_app_USER1_iphone
|
|
data:
|
|
message: 3D Print Error
|
|
data:
|
|
tag: prusa_error
|
|
group: 3d_printer
|
|
- alias: 3D-Printer - Prusa MK4 Print Error Status
|
|
id: 3d_printer_prusa_mk4_print_error_status
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: sensor.prusa_mk4
|
|
to: error
|
|
- trigger: state
|
|
entity_id: sensor.prusa_mk4
|
|
to: attention
|
|
conditions:
|
|
- condition: state
|
|
entity_id: input_boolean.disable_notifications
|
|
state: 'off'
|
|
actions:
|
|
- action: notify.mobile_app_USER1_iphone
|
|
data:
|
|
message: 3D Print Error
|
|
data:
|
|
tag: prusa_error
|
|
group: 3d_printer
|
|
- alias: Alarm - Trouble Notification
|
|
id: alarm_trouble_notification
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: sensor.alarm_system_trouble
|
|
from: 'false'
|
|
to: 'true'
|
|
actions:
|
|
- action: notify.mobile_app_USER1_iphone
|
|
data:
|
|
message: Alarm System Trouble Light On
|
|
- alias: Away Notification - Garage Door Opened
|
|
id: away_notification_garage_door_opened
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: group.garage_doors
|
|
from: 'off'
|
|
to: 'on'
|
|
conditions:
|
|
- condition: not
|
|
conditions:
|
|
- condition: state
|
|
entity_id: group.household
|
|
state: home
|
|
- condition: state
|
|
entity_id: input_boolean.disable_away_notifications
|
|
state: 'off'
|
|
actions:
|
|
- delay: 00:00:10
|
|
- action: notify.mobile_app_USER1_iphone
|
|
data:
|
|
message: Away Alert - Garage Door Opened
|
|
data:
|
|
push:
|
|
category: camera
|
|
entity_id: camera.garage_high
|
|
- action: notify.mobile_app_USER2_iphone
|
|
data:
|
|
message: Away Alert - Garage Door Opened
|
|
data:
|
|
push:
|
|
category: camera
|
|
entity_id: camera.garage_high
|
|
- alias: Away Notification - Back Door Opened
|
|
id: away_notification_back_door_opened
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: binary_sensor.back_door
|
|
from: 'off'
|
|
to: 'on'
|
|
conditions:
|
|
- condition: not
|
|
conditions:
|
|
- condition: state
|
|
entity_id: group.household
|
|
state: home
|
|
- condition: state
|
|
entity_id: input_boolean.disable_away_notifications
|
|
state: 'off'
|
|
actions:
|
|
- action: notify.mobile_app_USER1_iphone
|
|
data:
|
|
message: Away Alert - Back Door Opened
|
|
data:
|
|
push:
|
|
category: camera
|
|
entity_id: camera.south_back_door_high
|
|
- action: notify.mobile_app_USER2_iphone
|
|
data:
|
|
message: Away Alert - Back Door Opened
|
|
data:
|
|
push:
|
|
category: camera
|
|
entity_id: camera.south_back_door_high
|
|
- alias: Away Notification - Front Door Opened
|
|
id: away_notification_front_door_opened
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: binary_sensor.front_door
|
|
from: 'off'
|
|
to: 'on'
|
|
conditions:
|
|
- condition: not
|
|
conditions:
|
|
- condition: state
|
|
entity_id: group.household
|
|
state: home
|
|
- condition: state
|
|
entity_id: input_boolean.disable_away_notifications
|
|
state: 'off'
|
|
actions:
|
|
- action: notify.mobile_app_USER1_iphone
|
|
data:
|
|
message: Away Alert - Front Door Opened
|
|
data:
|
|
push:
|
|
category: camera
|
|
entity_id: camera.north_front_door_high
|
|
- action: notify.mobile_app_USER2_iphone
|
|
data:
|
|
message: Away Alert - Front Door Opened
|
|
data:
|
|
push:
|
|
category: camera
|
|
entity_id: camera.north_front_door_high
|
|
- alias: Away Notification - Basement Door Opened
|
|
id: away_notification_basement_door_opened
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: binary_sensor.basement_door
|
|
from: 'off'
|
|
to: 'on'
|
|
conditions:
|
|
- condition: not
|
|
conditions:
|
|
- condition: state
|
|
entity_id: group.household
|
|
state: home
|
|
- condition: state
|
|
entity_id: input_boolean.disable_away_notifications
|
|
state: 'off'
|
|
actions:
|
|
- action: notify.mobile_app_USER1_iphone
|
|
data:
|
|
message: Away Alert - Basement Door Opened
|
|
data:
|
|
push:
|
|
category: camera
|
|
entity_id: camera.west_walkout_high
|
|
- action: notify.mobile_app_USER2_iphone
|
|
data:
|
|
message: Away Alert - Basement Door Opened
|
|
data:
|
|
push:
|
|
category: camera
|
|
entity_id: camera.west_walkout_high
|
|
- alias: Away Notification - Garage Back Door Opened
|
|
id: away_notification_garage_back)door_opened
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: binary_sensor.garage_back_door
|
|
from: 'off'
|
|
to: 'on'
|
|
conditions:
|
|
- condition: not
|
|
conditions:
|
|
- condition: state
|
|
entity_id: group.household
|
|
state: home
|
|
- condition: state
|
|
entity_id: input_boolean.disable_away_notifications
|
|
state: 'off'
|
|
actions:
|
|
- action: notify.mobile_app_USER1_iphone
|
|
data:
|
|
message: Away Alert - Garage Back Door Opened
|
|
data:
|
|
push:
|
|
category: camera
|
|
entity_id: camera.garage_high
|
|
- action: notify.mobile_app_USER2_iphone
|
|
data:
|
|
message: Away Alert - Garage Back Door Opened
|
|
data:
|
|
push:
|
|
category: camera
|
|
entity_id: camera.garage_high
|
|
- alias: Notification - Exterior Door Open Long
|
|
id: alarm_exterior_door_open_long
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: binary_sensor.back_door
|
|
from: 'off'
|
|
to: 'on'
|
|
for:
|
|
hours: 0
|
|
minutes: 1
|
|
seconds: 0
|
|
variables:
|
|
trigger_message: Alert - Back Door Opened 1 Minute
|
|
trigger_camera: camera.south_back_door_high
|
|
- trigger: state
|
|
entity_id: binary_sensor.basement_door
|
|
from: 'off'
|
|
to: 'on'
|
|
for:
|
|
hours: 0
|
|
minutes: 1
|
|
seconds: 0
|
|
variables:
|
|
trigger_message: Alert - Basement Door Opened 1 Minute
|
|
trigger_camera: camera.west_walkout_high
|
|
- trigger: state
|
|
entity_id: binary_sensor.front_door
|
|
from: 'off'
|
|
to: 'on'
|
|
for:
|
|
hours: 0
|
|
minutes: 1
|
|
seconds: 0
|
|
variables:
|
|
trigger_message: Alert - Front Door Opened 1 Minute
|
|
trigger_camera: camera.north_front_door_high
|
|
actions:
|
|
- action: notify.mobile_app_USER1_iphone
|
|
data:
|
|
message: '{{ trigger_message }}'
|
|
data:
|
|
push:
|
|
category: camera
|
|
entity_id: '{{ trigger_camera }}'
|
|
- action: notify.mobile_app_USER2_iphone
|
|
data:
|
|
message: '{{ trigger_message }}'
|
|
data:
|
|
push:
|
|
category: camera
|
|
entity_id: '{{ trigger_camera }}'
|
|
- alias: Notification - Garage Entry Door Open Long
|
|
id: alarm_garage_entry_door_open_long
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: binary_sensor.garage_entry_door
|
|
from: 'off'
|
|
to: 'on'
|
|
for:
|
|
hours: 0
|
|
minutes: 1
|
|
seconds: 0
|
|
variables:
|
|
trigger_message: Alert - Garage Entry Door Opened 1 Minute
|
|
trigger_camera: camera.garage_high
|
|
conditions:
|
|
condition: or
|
|
conditions:
|
|
- condition: state
|
|
entity_id: cover.double_garage
|
|
state: open
|
|
- condition: state
|
|
entity_id: cover.single_garage
|
|
state: open
|
|
actions:
|
|
- action: notify.mobile_app_USER1_iphone
|
|
data:
|
|
message: '{{ trigger_message }}'
|
|
data:
|
|
push:
|
|
category: camera
|
|
entity_id: '{{ trigger_camera }}'
|
|
- action: notify.mobile_app_USER2_iphone
|
|
data:
|
|
message: '{{ trigger_message }}'
|
|
data:
|
|
push:
|
|
category: camera
|
|
entity_id: '{{ trigger_camera }}'
|
|
- alias: Biocube32 Feed Mode On
|
|
id: biocube_feed_mode_on
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: input_boolean.biocube_feed_mode
|
|
to: 'on'
|
|
actions:
|
|
- action: switch.turn_off
|
|
entity_id:
|
|
- switch.biocube_pump
|
|
- action: switch.turn_off
|
|
entity_id:
|
|
- switch.biocube_wavemaker
|
|
- action: homeassistant.turn_on
|
|
entity_id: input_boolean.fish_fed_today
|
|
- alias: Biocube32 Feed Mode Off
|
|
id: biocube_feed_mode_off
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: input_boolean.biocube_feed_mode
|
|
to: 'off'
|
|
actions:
|
|
- action: switch.turn_on
|
|
entity_id:
|
|
- switch.biocube_wavemaker
|
|
- delay: 00:03:00
|
|
- action: switch.turn_on
|
|
entity_id:
|
|
- switch.biocube_pump
|
|
- alias: Biocube32 High Temperature
|
|
id: biocube_temperature_high
|
|
triggers:
|
|
- trigger: numeric_state
|
|
entity_id: sensor.biocube_temperature
|
|
above: 82
|
|
for:
|
|
hours: 0
|
|
minutes: 20
|
|
seconds: 0
|
|
actions:
|
|
- action: switch.turn_off
|
|
entity_id:
|
|
- switch.biocube_heater
|
|
- action: notify.mobile_app_USER1_iphone
|
|
data:
|
|
message: Biocube Temp High - Heater turned Off!
|
|
- action: notify.mobile_app_USER2_iphone
|
|
data:
|
|
message: Biocube Temp High - Heater turned Off!
|
|
- alias: Biocube32 Low Temperature
|
|
id: biocube_temperature_low
|
|
triggers:
|
|
- trigger: numeric_state
|
|
entity_id: sensor.biocube_temperature
|
|
below: 76
|
|
for:
|
|
hours: 0
|
|
minutes: 5
|
|
seconds: 0
|
|
conditions:
|
|
- condition: state
|
|
entity_id: input_boolean.biocube_maintenance_mode
|
|
state: 'off'
|
|
actions:
|
|
- action: switch.turn_on
|
|
entity_id:
|
|
- switch.biocube_heater
|
|
- action: notify.mobile_app_USER1_iphone
|
|
data:
|
|
message: Biocube Temp Low - Check Tank Temp
|
|
- action: notify.mobile_app_USER2_iphone
|
|
data:
|
|
message: Biocube Temp Low - Check Tank Temp
|
|
- alias: Biocube32 Pump Left Off After Feeding
|
|
id: biocube_pump_left_off_after_feeding
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: switch.biocube_pump
|
|
to: 'off'
|
|
for:
|
|
hours: 0
|
|
minutes: 10
|
|
seconds: 0
|
|
conditions:
|
|
- condition: state
|
|
entity_id: input_boolean.fish_fed_today
|
|
state: 'on'
|
|
- condition: state
|
|
entity_id: input_boolean.biocube_maintenance_mode
|
|
state: 'off'
|
|
actions:
|
|
- action: homeassistant.turn_off
|
|
entity_id: input_boolean.biocube_feed_mode
|
|
- action: notify.mobile_app_USER1_iphone
|
|
data:
|
|
message: Biocube Pump Off 10m After Feeding - Turning On!
|
|
- action: notify.mobile_app_USER2_iphone
|
|
data:
|
|
message: Biocube Pump Off 10m After Feeding - Turning On!
|
|
- alias: Biocube32 Pump Off 15m
|
|
id: biocube_pump_off_15m
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: switch.biocube_pump
|
|
to: 'off'
|
|
for:
|
|
hours: 0
|
|
minutes: 15
|
|
seconds: 0
|
|
conditions:
|
|
- condition: state
|
|
entity_id: input_boolean.biocube_maintenance_mode
|
|
state: 'off'
|
|
action:
|
|
- action: notify.mobile_app_USER1_iphone
|
|
data:
|
|
message: Biocube Pump Off 15m - CHECK PUMP!
|
|
- action: notify.mobile_app_USER2_iphone
|
|
data:
|
|
message: Biocube Pump Off 15m - CHECK PUMP!
|
|
- alias: Biocube32 Wavemaker Off 20m
|
|
id: biocube_wavemaker_off_20m
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: switch.biocube_wavemaker
|
|
to: 'off'
|
|
for:
|
|
hours: 0
|
|
minutes: 20
|
|
seconds: 0
|
|
conditions:
|
|
- condition: state
|
|
entity_id: input_boolean.biocube_maintenance_mode
|
|
state: 'off'
|
|
action:
|
|
- action: notify.mobile_app_USER1_iphone
|
|
data:
|
|
message: Biocube Wavemaker Off 20m - CHECK Wavemaker!
|
|
- action: notify.mobile_app_USER2_iphone
|
|
data:
|
|
message: Biocube Pump Off 20m - CHECK Wavemaker!
|
|
- alias: Biocube32 ATO Running
|
|
id: biocube_ato_running
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: sensor.biocube_ato_status
|
|
from: not running
|
|
to: running
|
|
actions:
|
|
- action: notify.mobile_app_USER1_iphone
|
|
data:
|
|
message: Biocube ATO Running
|
|
- alias: Biocube32 ATO Running LONG
|
|
id: biocube_ato_running_long
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: sensor.biocube_ato_status
|
|
from: not running
|
|
to: running
|
|
for:
|
|
hours: 0
|
|
minutes: 3
|
|
seconds: 0
|
|
actions:
|
|
- action: switch.turn_off
|
|
entity_id: switch.biocube_ato
|
|
- action: notify.mobile_app_USER1_iphone
|
|
data:
|
|
message: Biocube ATO Running LONG 3m - ATO Turned Off
|
|
- alias: Biocube32 ATO Tank Low
|
|
id: biocube_ato_tank_low
|
|
triggers:
|
|
- trigger: numeric_state
|
|
entity_id: sensor.biocube_32_ato_reservoir_level
|
|
below: 30
|
|
for:
|
|
hours: 0
|
|
minutes: 5
|
|
seconds: 0
|
|
conditions:
|
|
- condition: state
|
|
entity_id: input_boolean.biocube_maintenance_mode
|
|
state: 'off'
|
|
actions:
|
|
- action: notify.mobile_app_USER1_iphone
|
|
data:
|
|
message: Biocube ATO Tank Needs Filled - Currently at {{states.sensor.biocube_32_ato_reservoir_level.state}}
|
|
- alias: Biocube32 ATO Off - Disable Pump
|
|
id: biocube_ato_off_disable_pump
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: switch.biocube_ato
|
|
to: 'off'
|
|
actions:
|
|
- action: switch.turn_off
|
|
entity_id: switch.biocube_ato_pump
|
|
- alias: Biocube32 ATO On - Enable Pump
|
|
id: biocube_ato_on_enable_pump
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: switch.biocube_ato
|
|
from: 'off'
|
|
to: 'on'
|
|
for:
|
|
hours: 0
|
|
minutes: 2
|
|
seconds: 0
|
|
actions:
|
|
- action: switch.turn_on
|
|
entity_id: switch.biocube_ato_pump
|
|
- alias: Biocube32 Maintenance Mode - 60m
|
|
id: biocube_maintenance_mode_60m
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: input_boolean.biocube_maintenance_mode
|
|
to: 'on'
|
|
for:
|
|
hours: 1
|
|
minutes: 0
|
|
seconds: 0
|
|
actions:
|
|
- action: notify.mobile_app_USER1_iphone
|
|
data:
|
|
message: Biocube Maintenance Mode Off 60m!
|
|
- alias: Feed Fish Reminder - All
|
|
id: biocube_feed_fish_reminder_all
|
|
triggers:
|
|
- trigger: time
|
|
at: '17:30:00'
|
|
conditions:
|
|
- condition: state
|
|
entity_id: input_boolean.fish_fed_today
|
|
state: 'off'
|
|
action:
|
|
- action: notify.mobile_app_USER1_iphone
|
|
data:
|
|
message: Reminder fish need fed today
|
|
- action: notify.mobile_app_USER4_iphone
|
|
data:
|
|
message: Reminder fish need fed today
|
|
- action: notify.mobile_app_USER2_iphone
|
|
data:
|
|
message: Reminder fish need fed today
|
|
- alias: Fish Fed Today - Reset Switch
|
|
id: biocube_feed_fish_reset
|
|
triggers:
|
|
- trigger: time
|
|
at: 00:30:00
|
|
actions:
|
|
- action: homeassistant.turn_off
|
|
entity_id: input_boolean.fish_fed_today
|
|
- alias: Red Sea UV Light Usage - Total Counter
|
|
id: red_sea_uv_usage_total_counter
|
|
triggers:
|
|
- trigger: time
|
|
at: '23:59:00'
|
|
actions:
|
|
- action: input_number.set_value
|
|
data_template:
|
|
entity_id: input_number.redsea_uv_light_usage
|
|
value: '{{ states.sensor.red_sea_aqua_uv_runtime_today.state | float / 24 +
|
|
states.input_number.redsea_uv_light_usage.state | float }}'
|
|
- alias: Red Sea Dosing - Enabled
|
|
id: red_sea_dosing_enabled
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: input_boolean.red_sea_dosing
|
|
to: 'on'
|
|
actions:
|
|
- action: homeassistant.turn_off
|
|
entity_id: switch.1_uv_light
|
|
- alias: Red Sea Dosing - Disabled
|
|
id: red_sea_dosing_disabled
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: input_boolean.red_sea_dosing
|
|
to: 'on'
|
|
for:
|
|
hours: '{{ states.input_number.red_sea_dosing_delay.state | int }}'
|
|
minutes: 0
|
|
seconds: 0
|
|
actions:
|
|
- action: homeassistant.turn_on
|
|
entity_id: switch.1_uv_light
|
|
- action: homeassistant.turn_off
|
|
entity_id: input_boolean.red_sea_dosing
|
|
- alias: Red Sea High Temperature
|
|
id: redsea_temperature_high
|
|
triggers:
|
|
- trigger: numeric_state
|
|
entity_id: sensor.red_sea_temperature_1
|
|
above: input_number.red_sea_high_temp_alarm
|
|
for:
|
|
hours: 0
|
|
minutes: 20
|
|
seconds: 0
|
|
- trigger: numeric_state
|
|
entity_id: sensor.red_sea_temperature_2
|
|
above: input_number.red_sea_high_temp_alarm
|
|
for:
|
|
hours: 0
|
|
minutes: 20
|
|
seconds: 0
|
|
- trigger: numeric_state
|
|
entity_id: sensor.red_sea_temperature_3
|
|
above: input_number.red_sea_high_temp_alarm
|
|
for:
|
|
hours: 0
|
|
minutes: 20
|
|
seconds: 0
|
|
- trigger: numeric_state
|
|
entity_id: sensor.red_sea_temperature_4
|
|
above: input_number.red_sea_high_temp_alarm
|
|
for:
|
|
hours: 0
|
|
minutes: 20
|
|
seconds: 0
|
|
actions:
|
|
- action: notify.mobile_app_USER1_iphone
|
|
data:
|
|
message: Red Sea Temp High - Check Tank!!
|
|
- action: notify.mobile_app_USER2_iphone
|
|
data:
|
|
message: Red Sea Temp High - Check Tank!!
|
|
- alias: Red Sea Low Temperature
|
|
id: redsea_temperature_low
|
|
triggers:
|
|
- trigger: numeric_state
|
|
entity_id: sensor.red_sea_temperature_1
|
|
below: input_number.red_sea_low_temp_alarm
|
|
for:
|
|
hours: 0
|
|
minutes: 20
|
|
seconds: 0
|
|
- trigger: numeric_state
|
|
entity_id: sensor.red_sea_temperature_2
|
|
below: input_number.red_sea_low_temp_alarm
|
|
for:
|
|
hours: 0
|
|
minutes: 20
|
|
seconds: 0
|
|
- trigger: numeric_state
|
|
entity_id: sensor.red_sea_temperature_3
|
|
below: input_number.red_sea_low_temp_alarm
|
|
for:
|
|
hours: 0
|
|
minutes: 20
|
|
seconds: 0
|
|
- trigger: numeric_state
|
|
entity_id: sensor.red_sea_temperature_4
|
|
below: input_number.red_sea_low_temp_alarm
|
|
for:
|
|
hours: 0
|
|
minutes: 20
|
|
seconds: 0
|
|
actions:
|
|
- action: notify.mobile_app_USER1_iphone
|
|
data:
|
|
message: Red Sea Temp Low - Check Tank Temp!!
|
|
- action: notify.mobile_app_USER2_iphone
|
|
data:
|
|
message: Red Sea Temp Low - Check Tank Temp!!
|
|
- alias: Red Sea Protein Skimmer Pump Off with Return Pump
|
|
id: red_sea_protein_skimmer_pump_off_with_return_pump
|
|
triggers:
|
|
- trigger: numeric_state
|
|
entity_id: sensor.1_return_pump_current_consumption
|
|
below: 30
|
|
conditions:
|
|
- condition: state
|
|
entity_id: switch.1_protein_skimmer_pump
|
|
state: 'on'
|
|
actions:
|
|
- action: homeassistant.turn_off
|
|
entity_id: switch.1_protein_skimmer_pump
|
|
- action: notify.mobile_app_USER1_iphone
|
|
data:
|
|
message: Red Sea Protein Skimmer Pump Turned Off with Return Pump
|
|
- alias: Red Sea Protein Skimmer Full
|
|
id: red_sea_protein_skimmer_full
|
|
triggers:
|
|
- trigger: numeric_state
|
|
entity_id: sensor.1_protein_skimmer_current_consumption
|
|
below: 10
|
|
for:
|
|
hours: 0
|
|
minutes: 5
|
|
seconds: 0
|
|
conditions:
|
|
- condition: state
|
|
entity_id: switch.1_protein_skimmer_pump
|
|
state: 'on'
|
|
actions:
|
|
- action: notify.mobile_app_USER1_iphone
|
|
data:
|
|
message: Red Sea Protein Skimmer possibly FULL! Low Power Usage.
|
|
- alias: Audio Notification - Kitchen Sink Water Sensor
|
|
triggers:
|
|
- trigger: event
|
|
event_type: timer.started
|
|
event_data:
|
|
entity_id: timer.alarm_kitchen_sink_water_sensor
|
|
conditions:
|
|
- condition: state
|
|
entity_id: input_boolean.disable_water_sensors
|
|
state: 'off'
|
|
actions:
|
|
- action: media_player.volume_set
|
|
entity_id:
|
|
- media_player.office
|
|
data:
|
|
volume_level: '0.6'
|
|
- action: tts.google_translate_say
|
|
entity_id: media_player.office
|
|
data:
|
|
message: Warning, Warning. Water detected by the Kitchen Sink.
|
|
- alias: Audio Notification Loop - Kitchen Sink Water Sensor
|
|
triggers:
|
|
- trigger: event
|
|
event_type: timer.finished
|
|
event_data:
|
|
entity_id: timer.alarm_kitchen_sink_water_sensor
|
|
conditions:
|
|
condition: state
|
|
entity_id: binary_sensor.kitchen_sink_water_sensor
|
|
state: 'on'
|
|
actions:
|
|
- action: timer.start
|
|
entity_id: timer.alarm_kitchen_sink_water_sensor
|
|
- alias: IOS USER4 Charge Phone - Notification
|
|
triggers:
|
|
- trigger: numeric_state
|
|
entity_id: sensor.USER4_iphone_battery_level
|
|
below: 50
|
|
for:
|
|
hours: 0
|
|
minutes: 5
|
|
seconds: 0
|
|
conditions:
|
|
- condition: state
|
|
entity_id: sensor.USER4_iphone_battery_state
|
|
state: Not Charging
|
|
- condition: state
|
|
entity_id: sensor.USER4_iphone_connection_type
|
|
state: Wi-Fi
|
|
- condition: state
|
|
entity_id: sensor.USER4_iphone_ssid
|
|
state: Restricted Section
|
|
actions:
|
|
- action: notify.mobile_app_USER4_iphone
|
|
data:
|
|
message: Battery Low - Plug In Phone Now
|
|
- action: notify.mobile_app_USER1_iphone
|
|
data:
|
|
message: USER4 Battery Low
|
|
- alias: IOS USER4 Charge Phone Critical - Notification
|
|
triggers:
|
|
- trigger: numeric_state
|
|
entity_id: sensor.USER4_iphone_battery_level
|
|
below: 30
|
|
for:
|
|
hours: 0
|
|
minutes: 10
|
|
seconds: 0
|
|
conditions:
|
|
- condition: state
|
|
entity_id: sensor.USER4_iphone_battery_state
|
|
state: Not Charging
|
|
actions:
|
|
- action: notify.mobile_app_USER4_iphone
|
|
data:
|
|
message: Battery Critical - Plug In Phone Now
|
|
- action: notify.mobile_app_USER1_iphone
|
|
data:
|
|
message: USER4 Battery Critical
|
|
- alias: IOS USER4 Turned Off Wifi At Home - Notification
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: sensor.USER4_iphone_connection_type
|
|
from: Wi-Fi
|
|
to: Cellular
|
|
for:
|
|
hours: 0
|
|
minutes: 5
|
|
seconds: 0
|
|
conditions:
|
|
- condition: state
|
|
entity_id: person.USER4
|
|
state: home
|
|
actions:
|
|
- action: notify.mobile_app_USER1_iphone
|
|
data:
|
|
message: USER4 Turned Off Wifi - At Home
|
|
- alias: IOS USER3 Charge Phone - Notification
|
|
triggers:
|
|
- trigger: numeric_state
|
|
entity_id: sensor.USER3_iphone_battery_level
|
|
below: 45
|
|
for:
|
|
hours: 0
|
|
minutes: 5
|
|
seconds: 0
|
|
conditions:
|
|
- condition: state
|
|
entity_id: sensor.USER3_iphone_battery_state
|
|
state: Not Charging
|
|
- condition: state
|
|
entity_id: sensor.USER3_iphone_connection_type
|
|
state: Wi-Fi
|
|
- condition: state
|
|
entity_id: sensor.USER3_iphone_ssid
|
|
state: Restricted Section
|
|
actions:
|
|
- action: notify.mobile_app_USER3_iphone
|
|
data:
|
|
message: Battery Low - Plug In Phone Now
|
|
- action: notify.mobile_app_USER1_iphone
|
|
data:
|
|
message: USER3 Battery Low
|
|
- alias: IOS USER3 Charge Phone Critical - Notification
|
|
triggers:
|
|
- trigger: numeric_state
|
|
entity_id: sensor.USER3_iphone_battery_level
|
|
below: 30
|
|
for:
|
|
hours: 0
|
|
minutes: 10
|
|
seconds: 0
|
|
conditions:
|
|
- condition: state
|
|
entity_id: sensor.USER3_iphone_battery_state
|
|
state: Not Charging
|
|
actions:
|
|
- action: notify.mobile_app_USER3_iphone
|
|
data:
|
|
message: Battery Critical - Plug In Phone Now
|
|
- action: notify.mobile_app_USER1_iphone
|
|
data:
|
|
message: USER3 Battery Critical
|
|
- alias: Basement Theme - Default On
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: input_select.basement_theme
|
|
to: Default
|
|
actions:
|
|
- action: light.turn_on
|
|
entity_id: light.basement_sitting_area
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
effect: Warm White
|
|
- action: light.turn_on
|
|
entity_id: light.basement_entry
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
effect: Warm White
|
|
- alias: Basement Theme - None Reset
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: light.basement
|
|
to: 'off'
|
|
actions:
|
|
- action: input_select.select_option
|
|
data:
|
|
entity_id: input_select.basement_theme
|
|
option: None
|
|
- alias: Basement Theme - Party Mode On
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: input_select.basement_theme
|
|
to: Party
|
|
actions:
|
|
- action: light.turn_on
|
|
entity_id: light.basement_sitting_area
|
|
data:
|
|
transition: 10
|
|
effect: Party
|
|
- action: light.turn_on
|
|
entity_id: light.basement_entry
|
|
data:
|
|
transition: 10
|
|
effect: Party
|
|
- alias: Basement Theme - Red Alert
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: input_select.basement_theme
|
|
to: Red Alert
|
|
actions:
|
|
- delay: 00:00:10
|
|
- action: light.turn_on
|
|
entity_id: light.basement_sitting_area
|
|
data:
|
|
brightness_pct: 100
|
|
color_name: red
|
|
- action: light.turn_on
|
|
entity_id: light.basement_entry
|
|
data:
|
|
brightness_pct: 100
|
|
color_name: red
|
|
- action: light.turn_off
|
|
entity_id: light.basement_sitting_area
|
|
- action: light.turn_off
|
|
entity_id: light.basement_entry
|
|
- action: light.turn_on
|
|
entity_id: light.basement_sitting_area
|
|
data:
|
|
brightness_pct: 100
|
|
color_name: red
|
|
- action: light.turn_on
|
|
entity_id: light.basement_entry
|
|
data:
|
|
brightness_pct: 100
|
|
color_name: red
|
|
- action: light.turn_off
|
|
entity_id: light.basement_sitting_area
|
|
- action: light.turn_off
|
|
entity_id: light.basement_entry
|
|
- action: light.turn_on
|
|
entity_id: light.basement_sitting_area
|
|
data:
|
|
brightness_pct: 100
|
|
color_name: red
|
|
- action: light.turn_on
|
|
entity_id: light.basement_entry
|
|
data:
|
|
brightness_pct: 100
|
|
color_name: red
|
|
- action: light.turn_off
|
|
entity_id: light.basement_sitting_area
|
|
- action: light.turn_off
|
|
entity_id: light.basement_entry
|
|
- action: light.turn_on
|
|
entity_id: light.basement_sitting_area
|
|
data:
|
|
brightness_pct: 100
|
|
color_name: red
|
|
- action: light.turn_on
|
|
entity_id: light.basement_entry
|
|
data:
|
|
brightness_pct: 100
|
|
color_name: red
|
|
- action: light.turn_off
|
|
entity_id: light.basement_sitting_area
|
|
- action: light.turn_off
|
|
entity_id: light.basement_entry
|
|
- action: light.turn_on
|
|
entity_id: light.basement_sitting_area
|
|
data:
|
|
brightness_pct: 100
|
|
color_name: red
|
|
- action: light.turn_on
|
|
entity_id: light.basement_entry
|
|
data:
|
|
brightness_pct: 100
|
|
color_name: red
|
|
- action: light.turn_off
|
|
entity_id: light.basement_sitting_area
|
|
- action: light.turn_off
|
|
entity_id: light.basement_entry
|
|
- action: light.turn_on
|
|
entity_id: light.basement_sitting_area
|
|
data:
|
|
brightness_pct: 100
|
|
color_name: red
|
|
- action: light.turn_on
|
|
entity_id: light.basement_entry
|
|
data:
|
|
brightness_pct: 100
|
|
color_name: red
|
|
- action: light.turn_off
|
|
entity_id: light.basement_sitting_area
|
|
- action: light.turn_off
|
|
entity_id: light.basement_entry
|
|
- action: light.turn_on
|
|
entity_id: light.basement_sitting_area
|
|
data:
|
|
brightness_pct: 100
|
|
color_name: red
|
|
- action: light.turn_on
|
|
entity_id: light.basement_entry
|
|
data:
|
|
brightness_pct: 100
|
|
color_name: red
|
|
- action: light.turn_off
|
|
entity_id: light.basement_sitting_area
|
|
- action: light.turn_off
|
|
entity_id: light.basement_entry
|
|
- action: light.turn_on
|
|
entity_id: light.basement_sitting_area
|
|
data:
|
|
brightness_pct: 100
|
|
color_name: red
|
|
- action: light.turn_on
|
|
entity_id: light.basement_entry
|
|
data:
|
|
brightness_pct: 100
|
|
color_name: red
|
|
- alias: Basement Theme - TV Mode On
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: input_select.basement_theme
|
|
to: TV Mode
|
|
actions:
|
|
- action: light.turn_on
|
|
entity_id: light.basement_sitting_area
|
|
data:
|
|
transition: 10
|
|
effect: TV time
|
|
- action: light.turn_on
|
|
entity_id: light.basement_entry
|
|
data:
|
|
transition: 10
|
|
effect: TV time
|
|
- action: light.turn_off
|
|
entity_id: light.basement_recessed_2
|
|
data:
|
|
transition: 10
|
|
- action: light.turn_off
|
|
entity_id: light.basement_recessed_5
|
|
data:
|
|
transition: 10
|
|
- alias: Bedtime Master Bedroom
|
|
id: bedtime_master_bedroom
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: input_boolean.bedtime
|
|
to: 'on'
|
|
for:
|
|
hours: 0
|
|
minutes: 0
|
|
seconds: 5
|
|
actions:
|
|
- action: light.turn_off
|
|
entity_id:
|
|
- light.master_bedroom
|
|
- action: switch.turn_on
|
|
entity_id:
|
|
- switch.sound_machine
|
|
- alias: Bedtime - Reset Switch
|
|
id: bedtime_reset_switch
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: input_boolean.bedtime
|
|
from: 'off'
|
|
to: 'on'
|
|
for:
|
|
hours: 0
|
|
minutes: 1
|
|
seconds: 0
|
|
actions:
|
|
- action: homeassistant.turn_off
|
|
entity_id: input_boolean.bedtime
|
|
- alias: Chore - Dishwasher Reminder USER3
|
|
id: chore_dishwasher_reminder_USER3
|
|
trigger:
|
|
- platform: time_pattern
|
|
hours: /1
|
|
- platform: template
|
|
value_template: '{{ states(''sensor.time'') == (states.input_datetime.chore_dishwasher_reminder.attributes.timestamp
|
|
| int | timestamp_custom(''%H:%M'', False)) }}'
|
|
condition:
|
|
- condition: time
|
|
after: input_datetime.chore_dishwasher_reminder
|
|
before: '21:30:00'
|
|
- condition: state
|
|
entity_id: input_boolean.chore_dishwasher_unloaded
|
|
state: 'off'
|
|
- condition: state
|
|
entity_id: person.USER3
|
|
state: home
|
|
- condition: state
|
|
entity_id: sensor.chore_dishwasher_status
|
|
state: USER3
|
|
action:
|
|
- service: notify.mobile_app_USER1_iphone
|
|
data:
|
|
message: USER3 - Dishwasher Not Emptied Reminder
|
|
- service: notify.mobile_app_USER3_iphone
|
|
data:
|
|
message: USER3 - Dishwasher Not Emptied Reminder
|
|
- alias: Chore - Dishwasher Reminder USER4
|
|
id: chore_dishwasher_reminder_USER4
|
|
trigger:
|
|
- platform: time_pattern
|
|
hours: /1
|
|
- platform: template
|
|
value_template: '{{ states(''sensor.time'') == (states.input_datetime.chore_dishwasher_reminder.attributes.timestamp
|
|
| int | timestamp_custom(''%H:%M'', False)) }}'
|
|
condition:
|
|
- condition: time
|
|
after: input_datetime.chore_dishwasher_reminder
|
|
before: '21:30:00'
|
|
- condition: state
|
|
entity_id: input_boolean.chore_dishwasher_unloaded
|
|
state: 'off'
|
|
- condition: state
|
|
entity_id: person.USER4
|
|
state: home
|
|
- condition: state
|
|
entity_id: sensor.chore_dishwasher_status
|
|
state: USER4
|
|
action:
|
|
- service: notify.mobile_app_USER1_iphone
|
|
data:
|
|
message: USER4 - Dishwasher Not Emptied Reminder
|
|
- service: notify.mobile_app_USER4_iphone
|
|
data:
|
|
message: USER4 - Dishwasher Not Emptied Reminder
|
|
- alias: Chore - Dishwasher Reset if Done
|
|
id: chore_dishwasher_reset_if_done
|
|
trigger:
|
|
- platform: time
|
|
at: 01:30:00
|
|
condition:
|
|
- condition: state
|
|
entity_id: input_boolean.chore_dishwasher_unloaded
|
|
state: 'on'
|
|
action:
|
|
- service: input_select.select_next
|
|
target:
|
|
entity_id: input_select.chore_dishwasher_assignment
|
|
- service: input_boolean.turn_off
|
|
target:
|
|
entity_id: input_boolean.chore_dishwasher_unloaded
|
|
- alias: Chore - USER3 Bedroom Reset if Done
|
|
id: chore_USER3_bedroom_reset_if_done
|
|
trigger:
|
|
- platform: time
|
|
at: 01:30:00
|
|
condition:
|
|
- condition: time
|
|
weekday:
|
|
- mon
|
|
- condition: state
|
|
entity_id: input_boolean.chore_USER3_bedroom_cleaned
|
|
state: 'on'
|
|
action:
|
|
- service: input_boolean.turn_off
|
|
target:
|
|
entity_id: input_boolean.chore_USER3_bedroom_cleaned
|
|
- alias: Chore - USER3 Bedroom Reminder
|
|
id: chore_USER3_bedroom_reminder
|
|
trigger:
|
|
- platform: time_pattern
|
|
hours: /2
|
|
- platform: template
|
|
value_template: '{{ states(''sensor.time'') == (states.input_datetime.chore_USER3_bedroom_reminder.attributes.timestamp
|
|
| int | timestamp_custom(''%H:%M'', False)) }}'
|
|
condition:
|
|
- condition: time
|
|
after: input_datetime.chore_USER3_bedroom_reminder
|
|
before: '21:00:00'
|
|
weekday:
|
|
- sat
|
|
- sun
|
|
- condition: state
|
|
entity_id: input_boolean.chore_USER3_bedroom_cleaned
|
|
state: 'off'
|
|
- condition: state
|
|
entity_id: person.USER3
|
|
state: home
|
|
action:
|
|
- service: notify.mobile_app_USER1_iphone
|
|
data:
|
|
message: USER3 Bedroom Not Cleaned Reminder
|
|
- alias: Chore - USER4 Bedroom Reset if Done
|
|
id: chore_USER4_bedroom_reset_if_done
|
|
trigger:
|
|
- platform: time
|
|
at: 01:30:00
|
|
condition:
|
|
- condition: time
|
|
weekday:
|
|
- mon
|
|
- condition: state
|
|
entity_id: input_boolean.chore_USER4_bedroom_cleaned
|
|
state: 'on'
|
|
action:
|
|
- service: input_boolean.turn_off
|
|
target:
|
|
entity_id: input_boolean.chore_USER4_bedroom_cleaned
|
|
- alias: Chore - USER4 Bedroom Reminder
|
|
id: chore_USER4_bedroom_reminder
|
|
trigger:
|
|
- platform: time_pattern
|
|
hours: /2
|
|
- platform: template
|
|
value_template: '{{ states(''sensor.time'') == (states.input_datetime.chore_USER4_bedroom_reminder.attributes.timestamp
|
|
| int | timestamp_custom(''%H:%M'', False)) }}'
|
|
condition:
|
|
- condition: time
|
|
after: input_datetime.chore_USER4_bedroom_reminder
|
|
before: '21:00:00'
|
|
weekday:
|
|
- sat
|
|
- sun
|
|
- condition: state
|
|
entity_id: input_boolean.chore_USER4_bedroom_cleaned
|
|
state: 'off'
|
|
- condition: state
|
|
entity_id: person.USER4
|
|
state: home
|
|
action:
|
|
- service: notify.mobile_app_USER1_iphone
|
|
data:
|
|
message: USER4 Bedroom Not Cleaned Reminder
|
|
- alias: Chore - USER3 Bathroom Reset if Done
|
|
id: chore_USER3_bathroom_reset_if_done
|
|
trigger:
|
|
- platform: time
|
|
at: 01:30:00
|
|
condition:
|
|
- condition: time
|
|
weekday:
|
|
- mon
|
|
- condition: state
|
|
entity_id: input_boolean.chore_USER3_bathroom_cleaned
|
|
state: 'on'
|
|
action:
|
|
- service: input_boolean.turn_off
|
|
target:
|
|
entity_id: input_boolean.chore_USER3_bathroom_cleaned
|
|
- alias: Chore - USER3 Bathroom Reminder
|
|
id: chore_USER3_bathroom_reminder
|
|
trigger:
|
|
- platform: time_pattern
|
|
hours: /3
|
|
- platform: template
|
|
value_template: '{{ states(''sensor.time'') == (states.input_datetime.chore_USER3_bathroom_reminder.attributes.timestamp
|
|
| int | timestamp_custom(''%H:%M'', False)) }}'
|
|
condition:
|
|
- condition: time
|
|
after: input_datetime.chore_USER3_bathroom_reminder
|
|
before: '21:00:00'
|
|
weekday:
|
|
- sat
|
|
- sun
|
|
- condition: state
|
|
entity_id: input_boolean.chore_USER3_bathroom_cleaned
|
|
state: 'off'
|
|
- condition: state
|
|
entity_id: person.USER3
|
|
state: home
|
|
action:
|
|
- service: notify.mobile_app_USER1_iphone
|
|
data:
|
|
message: USER3 Bathroom Not Cleaned Reminder
|
|
- alias: Chore - USER4 Bathroom Reset if Done
|
|
id: chore_USER4_bathroom_reset_if_done
|
|
trigger:
|
|
- platform: time
|
|
at: 01:30:00
|
|
condition:
|
|
- condition: time
|
|
weekday:
|
|
- mon
|
|
- condition: state
|
|
entity_id: input_boolean.chore_USER4_bathroom_cleaned
|
|
state: 'on'
|
|
action:
|
|
- service: input_boolean.turn_off
|
|
target:
|
|
entity_id: input_boolean.chore_USER4_bathroom_cleaned
|
|
- alias: Chore - USER4 Bathroom Reminder
|
|
id: chore_USER4_bathroom_reminder
|
|
trigger:
|
|
- platform: time_pattern
|
|
hours: /3
|
|
- platform: template
|
|
value_template: '{{ states(''sensor.time'') == (states.input_datetime.chore_USER4_bathroom_reminder.attributes.timestamp
|
|
| int | timestamp_custom(''%H:%M'', False)) }}'
|
|
condition:
|
|
- condition: time
|
|
after: input_datetime.chore_USER4_bathroom_reminder
|
|
before: '21:00:00'
|
|
weekday:
|
|
- sat
|
|
- sun
|
|
- condition: state
|
|
entity_id: input_boolean.chore_USER4_bathroom_cleaned
|
|
state: 'off'
|
|
- condition: state
|
|
entity_id: person.USER4
|
|
state: home
|
|
action:
|
|
- service: notify.mobile_app_USER1_iphone
|
|
data:
|
|
message: USER4 Bathroom Not Cleaned Reminder
|
|
- alias: Outside Christmas Lights On
|
|
id: outside_christmas_lights_on
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: light.landscape
|
|
to: 'on'
|
|
conditions:
|
|
- condition: state
|
|
entity_id: input_select.outdoor_theme
|
|
state: Christmas
|
|
actions:
|
|
- action: homeassistant.turn_on
|
|
entity_id: group.christmas_outside_lights
|
|
- alias: Outside Christmas Lights Off
|
|
id: outside_christmas_lights_off
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: light.landscape
|
|
to: 'off'
|
|
conditions:
|
|
- condition: state
|
|
entity_id: input_select.outdoor_theme
|
|
state: Christmas
|
|
actions:
|
|
- action: homeassistant.turn_off
|
|
entity_id: group.christmas_outside_lights
|
|
- alias: Inside Christmas Lights On - Household Home
|
|
id: inside_christmas_lights_on_household_home
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: group.household
|
|
from: not_home
|
|
to: home
|
|
conditions:
|
|
- condition: state
|
|
entity_id: sun.sun
|
|
state: below_horizon
|
|
- condition: state
|
|
entity_id: input_select.outdoor_theme
|
|
state: Christmas
|
|
actions:
|
|
- action: homeassistant.turn_on
|
|
entity_id: group.christmas_inside_lights
|
|
- alias: Inside Christmas Lights On
|
|
id: inside_christmas_lights_on
|
|
triggers:
|
|
- trigger: sun
|
|
event: sunset
|
|
offset: -00:10:00
|
|
conditions:
|
|
- condition: state
|
|
entity_id: input_select.outdoor_theme
|
|
state: Christmas
|
|
- condition: state
|
|
entity_id: group.household
|
|
state: home
|
|
actions:
|
|
- action: homeassistant.turn_on
|
|
entity_id: group.christmas_inside_lights
|
|
- alias: Climate - Adjust Thermostat if Fireplace On
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: sensor.fireplace_status
|
|
from: not running
|
|
to: running
|
|
for:
|
|
hours: 0
|
|
minutes: 10
|
|
seconds: 0
|
|
actions:
|
|
- action: climate.set_preset_mode
|
|
data:
|
|
entity_id: climate.home
|
|
preset_mode: Fireplace
|
|
- alias: Climate - Reset Thermostat when Fireplace off
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: sensor.fireplace_status
|
|
from: running
|
|
to: not running
|
|
for:
|
|
hours: 0
|
|
minutes: 30
|
|
seconds: 0
|
|
actions:
|
|
- action: ecobee.resume_program
|
|
data:
|
|
entity_id: climate.home
|
|
resume_all: true
|
|
- alias: Chore - Dishwasher Reminder USER3
|
|
id: chore_dishwasher_reminder_USER3
|
|
triggers:
|
|
- trigger: time_pattern
|
|
hours: /1
|
|
- trigger: template
|
|
value_template: '{{ states(''sensor.time'') == (states.input_datetime.chore_dishwasher_reminder.attributes.timestamp
|
|
| int | timestamp_custom(''%H:%M'', False)) }}'
|
|
conditions:
|
|
- condition: time
|
|
after: input_datetime.chore_dishwasher_reminder
|
|
before: '21:30:00'
|
|
- condition: state
|
|
entity_id: input_boolean.chore_dishwasher_unloaded
|
|
state: 'off'
|
|
- condition: state
|
|
entity_id: person.USER3
|
|
state: home
|
|
- condition: state
|
|
entity_id: sensor.chore_dishwasher_status
|
|
state: USER3
|
|
actions:
|
|
- action: notify.mobile_app_USER1_iphone
|
|
data:
|
|
message: USER3 - Dishwasher Not Emptied Reminder
|
|
- action: notify.mobile_app_USER3_iphone
|
|
data:
|
|
message: USER3 - Dishwasher Not Emptied Reminder
|
|
- alias: Chore - Dishwasher Reminder USER4
|
|
id: chore_dishwasher_reminder_USER4
|
|
triggers:
|
|
- trigger: time_pattern
|
|
hours: /1
|
|
- trigger: template
|
|
value_template: '{{ states(''sensor.time'') == (states.input_datetime.chore_dishwasher_reminder.attributes.timestamp
|
|
| int | timestamp_custom(''%H:%M'', False)) }}'
|
|
conditions:
|
|
- condition: time
|
|
after: input_datetime.chore_dishwasher_reminder
|
|
before: '21:30:00'
|
|
- condition: state
|
|
entity_id: input_boolean.chore_dishwasher_unloaded
|
|
state: 'off'
|
|
- condition: state
|
|
entity_id: person.USER4
|
|
state: home
|
|
- condition: state
|
|
entity_id: sensor.chore_dishwasher_status
|
|
state: USER4
|
|
actions:
|
|
- action: notify.mobile_app_USER1_iphone
|
|
data:
|
|
message: USER4 - Dishwasher Not Emptied Reminder
|
|
- action: notify.mobile_app_USER4_iphone
|
|
data:
|
|
message: USER4 - Dishwasher Not Emptied Reminder
|
|
- alias: Chore - Dishwasher Reset if Done
|
|
id: chore_dishwasher_reset_if_done
|
|
triggers:
|
|
- trigger: time
|
|
at: 01:30:00
|
|
conditions:
|
|
- condition: state
|
|
entity_id: input_boolean.chore_dishwasher_unloaded
|
|
state: 'on'
|
|
actions:
|
|
- action: input_select.select_next
|
|
target:
|
|
entity_id: input_select.chore_dishwasher_assignment
|
|
- action: input_boolean.turn_off
|
|
target:
|
|
entity_id: input_boolean.chore_dishwasher_unloaded
|
|
- alias: Chore - USER3 Bedroom Reset if Done
|
|
id: chore_USER3_bedroom_reset_if_done
|
|
triggers:
|
|
- trigger: time
|
|
at: 01:30:00
|
|
conditions:
|
|
- condition: time
|
|
weekday:
|
|
- mon
|
|
- condition: state
|
|
entity_id: input_boolean.chore_USER3_bedroom_cleaned
|
|
state: 'on'
|
|
actions:
|
|
- action: input_boolean.turn_off
|
|
target:
|
|
entity_id: input_boolean.chore_USER3_bedroom_cleaned
|
|
- alias: Chore - USER3 Bedroom Reminder
|
|
id: chore_USER3_bedroom_reminder
|
|
triggers:
|
|
- trigger: time_pattern
|
|
hours: /2
|
|
- trigger: template
|
|
value_template: '{{ states(''sensor.time'') == (states.input_datetime.chore_USER3_bedroom_reminder.attributes.timestamp
|
|
| int | timestamp_custom(''%H:%M'', False)) }}'
|
|
conditions:
|
|
- condition: time
|
|
after: input_datetime.chore_USER3_bedroom_reminder
|
|
before: '21:00:00'
|
|
weekday:
|
|
- sat
|
|
- sun
|
|
- condition: state
|
|
entity_id: input_boolean.chore_USER3_bedroom_cleaned
|
|
state: 'off'
|
|
- condition: state
|
|
entity_id: person.USER3
|
|
state: home
|
|
actions:
|
|
- action: notify.mobile_app_USER1_iphone
|
|
data:
|
|
message: USER3 Bedroom Not Cleaned Reminder
|
|
- alias: Chore - USER4 Bedroom Reset if Done
|
|
id: chore_USER4_bedroom_reset_if_done
|
|
triggers:
|
|
- trigger: time
|
|
at: 01:30:00
|
|
conditions:
|
|
- condition: time
|
|
weekday:
|
|
- mon
|
|
- condition: state
|
|
entity_id: input_boolean.chore_USER4_bedroom_cleaned
|
|
state: 'on'
|
|
actions:
|
|
- action: input_boolean.turn_off
|
|
target:
|
|
entity_id: input_boolean.chore_USER4_bedroom_cleaned
|
|
- alias: Chore - USER4 Bedroom Reminder
|
|
id: chore_USER4_bedroom_reminder
|
|
triggers:
|
|
- trigger: time_pattern
|
|
hours: /2
|
|
- trigger: template
|
|
value_template: '{{ states(''sensor.time'') == (states.input_datetime.chore_USER4_bedroom_reminder.attributes.timestamp
|
|
| int | timestamp_custom(''%H:%M'', False)) }}'
|
|
conditions:
|
|
- condition: time
|
|
after: input_datetime.chore_USER4_bedroom_reminder
|
|
before: '21:00:00'
|
|
weekday:
|
|
- sat
|
|
- sun
|
|
- condition: state
|
|
entity_id: input_boolean.chore_USER4_bedroom_cleaned
|
|
state: 'off'
|
|
- condition: state
|
|
entity_id: person.USER4
|
|
state: home
|
|
actions:
|
|
- action: notify.mobile_app_USER1_iphone
|
|
data:
|
|
message: USER4 Bedroom Not Cleaned Reminder
|
|
- alias: Chore - USER3 Bathroom Reset if Done
|
|
id: chore_USER3_bathroom_reset_if_done
|
|
triggers:
|
|
- trigger: time
|
|
at: 01:30:00
|
|
conditions:
|
|
- condition: time
|
|
weekday:
|
|
- mon
|
|
- condition: state
|
|
entity_id: input_boolean.chore_USER3_bathroom_cleaned
|
|
state: 'on'
|
|
actions:
|
|
- action: input_boolean.turn_off
|
|
target:
|
|
entity_id: input_boolean.chore_USER3_bathroom_cleaned
|
|
- alias: Chore - USER3 Bathroom Reminder
|
|
id: chore_USER3_bathroom_reminder
|
|
triggers:
|
|
- trigger: time_pattern
|
|
hours: /3
|
|
- trigger: template
|
|
value_template: '{{ states(''sensor.time'') == (states.input_datetime.chore_USER3_bathroom_reminder.attributes.timestamp
|
|
| int | timestamp_custom(''%H:%M'', False)) }}'
|
|
conditions:
|
|
- condition: time
|
|
after: input_datetime.chore_USER3_bathroom_reminder
|
|
before: '21:00:00'
|
|
weekday:
|
|
- sat
|
|
- sun
|
|
- condition: state
|
|
entity_id: input_boolean.chore_USER3_bathroom_cleaned
|
|
state: 'off'
|
|
- condition: state
|
|
entity_id: person.USER3
|
|
state: home
|
|
actions:
|
|
- action: notify.mobile_app_USER1_iphone
|
|
data:
|
|
message: USER3 Bathroom Not Cleaned Reminder
|
|
- alias: Chore - USER4 Bathroom Reset if Done
|
|
id: chore_USER4_bathroom_reset_if_done
|
|
triggers:
|
|
- trigger: time
|
|
at: 01:30:00
|
|
conditions:
|
|
- condition: time
|
|
weekday:
|
|
- mon
|
|
- condition: state
|
|
entity_id: input_boolean.chore_USER4_bathroom_cleaned
|
|
state: 'on'
|
|
actions:
|
|
- action: input_boolean.turn_off
|
|
target:
|
|
entity_id: input_boolean.chore_USER4_bathroom_cleaned
|
|
- alias: Chore - USER4 Bathroom Reminder
|
|
id: chore_USER4_bathroom_reminder
|
|
triggers:
|
|
- trigger: time_pattern
|
|
hours: /3
|
|
- trigger: template
|
|
value_template: '{{ states(''sensor.time'') == (states.input_datetime.chore_USER4_bathroom_reminder.attributes.timestamp
|
|
| int | timestamp_custom(''%H:%M'', False)) }}'
|
|
conditions:
|
|
- condition: time
|
|
after: input_datetime.chore_USER4_bathroom_reminder
|
|
before: '21:00:00'
|
|
weekday:
|
|
- sat
|
|
- sun
|
|
- condition: state
|
|
entity_id: input_boolean.chore_USER4_bathroom_cleaned
|
|
state: 'off'
|
|
- condition: state
|
|
entity_id: person.USER4
|
|
state: home
|
|
actions:
|
|
- action: notify.mobile_app_USER1_iphone
|
|
data:
|
|
message: USER4 Bathroom Not Cleaned Reminder
|
|
- alias: Outside Christmas Lights On
|
|
trigger:
|
|
- platform: state
|
|
entity_id: light.landscape
|
|
to: 'on'
|
|
condition:
|
|
- condition: state
|
|
entity_id: input_select.outdoor_theme
|
|
state: Christmas
|
|
action:
|
|
- service: homeassistant.turn_on
|
|
entity_id: group.christmas_outside_lights
|
|
- alias: Outside Christmas Lights Off
|
|
trigger:
|
|
- platform: state
|
|
entity_id: light.landscape
|
|
to: 'off'
|
|
condition:
|
|
- condition: state
|
|
entity_id: input_select.outdoor_theme
|
|
state: Christmas
|
|
action:
|
|
- service: homeassistant.turn_off
|
|
entity_id: group.christmas_outside_lights
|
|
- alias: Inside Christmas Lights On - Household Home
|
|
trigger:
|
|
- platform: state
|
|
entity_id: group.household
|
|
from: not_home
|
|
to: home
|
|
condition:
|
|
- condition: state
|
|
entity_id: sun.sun
|
|
state: below_horizon
|
|
- condition: state
|
|
entity_id: input_select.outdoor_theme
|
|
state: Christmas
|
|
action:
|
|
- service: homeassistant.turn_on
|
|
entity_id: group.christmas_inside_lights
|
|
- alias: Inside Christmas Lights On
|
|
trigger:
|
|
- platform: sun
|
|
event: sunset
|
|
offset: -00:10:00
|
|
condition:
|
|
- condition: state
|
|
entity_id: sun.sun
|
|
state: below_horizon
|
|
- condition: state
|
|
entity_id: input_select.outdoor_theme
|
|
state: Christmas
|
|
action:
|
|
- service: homeassistant.turn_on
|
|
entity_id: group.christmas_inside_lights
|
|
- alias: iOS Action - Washing Machine Switch On
|
|
triggers:
|
|
- trigger: event
|
|
event_type: ios.notification_action_fired
|
|
event_data:
|
|
actionName: WASHINGMACHINE_TURN_ON_SWITCH
|
|
actions:
|
|
- action: switch.turn_on
|
|
entity_id: switch.washing_machine
|
|
- alias: iOS Action - Air Cleaner Switch On
|
|
triggers:
|
|
- trigger: event
|
|
event_type: ios.notification_action_fired
|
|
event_data:
|
|
actionName: AIRCLEANER_TURN_ON_SWITCH
|
|
actions:
|
|
- action: switch.turn_on
|
|
entity_id: switch.air_cleaner
|
|
- alias: iOS Action - Hall Closet Light Off
|
|
triggers:
|
|
- trigger: event
|
|
event_type: ios.notification_action_fired
|
|
event_data:
|
|
actionName: HALLCLOSET_TURN_OFF_LIGHT
|
|
actions:
|
|
- action: switch.turn_off
|
|
entity_id: light.hall_closet_lights
|
|
- alias: iOS Action - Biocube Pump Switch On
|
|
triggers:
|
|
- trigger: event
|
|
event_type: ios.notification_action_fired
|
|
event_data:
|
|
actionName: BIOCUBEPUMP_TURN_ON_SWITCH
|
|
actions:
|
|
- action: switch.turn_on
|
|
entity_id: switch.biocube_pump
|
|
- alias: iOS Action - Biocube Wavemaker Switch On
|
|
triggers:
|
|
- trigger: event
|
|
event_type: ios.notification_action_fired
|
|
event_data:
|
|
actionName: BIOCUBEWAVEMAKER_TURN_ON_SWITCH
|
|
actions:
|
|
- action: switch.turn_on
|
|
entity_id: switch.biocube_wavemaker
|
|
- alias: iOS Action - Biocube Maintenance Mode Off
|
|
triggers:
|
|
- trigger: event
|
|
event_type: ios.notification_action_fired
|
|
event_data:
|
|
actionName: BIOCUBEMAINTENANCE_TURN_OFF_SWITCH
|
|
actions:
|
|
- action: switch.turn_off
|
|
entity_id: input_boolean.biocube_maintenance_mode
|
|
- alias: iOS Action - Double Garage Close
|
|
triggers:
|
|
- trigger: event
|
|
event_type: ios.notification_action_fired
|
|
event_data:
|
|
actionName: DOUBLE_GARAGE_CLOSE
|
|
actions:
|
|
- action: cover.close_cover
|
|
entity_id: cover.double_garage
|
|
- alias: Doorbell - Turn On Front Door when Rung
|
|
id: doorbell_turn_on_front_door_when_rung
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: binary_sensor.front_door_doorbell
|
|
from: 'off'
|
|
to: 'on'
|
|
conditions:
|
|
- condition: state
|
|
entity_id: sun.sun
|
|
state: below_horizon
|
|
- condition: state
|
|
entity_id: input_boolean.disable_doorbell
|
|
state: 'off'
|
|
actions:
|
|
- action: light.turn_on
|
|
entity_id: light.front_door
|
|
data:
|
|
brightness_pct: 100
|
|
kelvin: 2700
|
|
- alias: Doorbell - Reset Front Door After Ring
|
|
id: doorbell_reset_front_after_ring
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: binary_sensor.front_door_doorbell
|
|
from: 'on'
|
|
to: 'off'
|
|
for:
|
|
hours: 0
|
|
minutes: 30
|
|
seconds: 0
|
|
conditions:
|
|
- condition: state
|
|
entity_id: sun.sun
|
|
state: below_horizon
|
|
- condition: state
|
|
entity_id: input_boolean.disable_doorbell
|
|
state: 'off'
|
|
actions:
|
|
- action: scene.turn_on
|
|
data_template:
|
|
entity_id: scene.front_{{ states.input_select.outdoor_theme.state | lower |
|
|
replace(' ', '_') | replace('\'', '') }}
|
|
- alias: Doorbell - Turn On Front Door when Person Detected
|
|
id: doorbell_turn_on_front_door_when_person_detected
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: binary_sensor.front_door_person_detected
|
|
from: 'off'
|
|
to: 'on'
|
|
conditions:
|
|
- condition: state
|
|
entity_id: sun.sun
|
|
state: below_horizon
|
|
- condition: state
|
|
entity_id: input_boolean.disable_doorbell
|
|
state: 'off'
|
|
actions:
|
|
- action: light.turn_on
|
|
entity_id: light.front_door
|
|
data:
|
|
brightness_pct: 100
|
|
kelvin: 2700
|
|
- alias: Doorbell - Reset Front Door After Person Detected before 11:30
|
|
id: doorbell_reset_front_door_after_person_detected_before_11
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: binary_sensor.front_door_person_detected
|
|
from: 'on'
|
|
to: 'off'
|
|
for:
|
|
hours: 0
|
|
minutes: 15
|
|
seconds: 0
|
|
conditions:
|
|
- condition: state
|
|
entity_id: input_boolean.disable_doorbell
|
|
state: 'off'
|
|
- condition: time
|
|
before: '23:30:00'
|
|
- condition: time
|
|
after: '16:00:00'
|
|
actions:
|
|
- action: light.turn_on
|
|
entity_id: light.front_door
|
|
data:
|
|
brightness_pct: 30
|
|
kelvin: 2700
|
|
- alias: Doorbell - Reset Front Door After Person Detected after 11:30
|
|
id: doorbell_reset_front_door_after_person_detected_after_11
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: binary_sensor.front_door_person_detected
|
|
from: 'on'
|
|
to: 'off'
|
|
for:
|
|
hours: 0
|
|
minutes: 15
|
|
seconds: 0
|
|
conditions:
|
|
- condition: state
|
|
entity_id: input_boolean.disable_doorbell
|
|
state: 'off'
|
|
- condition: or
|
|
conditions:
|
|
- condition: time
|
|
before: 08:00:00
|
|
- condition: time
|
|
after: '23:30:00'
|
|
actions:
|
|
- action: light.turn_off
|
|
entity_id: light.front_door
|
|
- alias: Doorbell - Play Sound When Someone Rings Doorbell
|
|
id: doorbell_play_sound_when_someone_rings_doorbell
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: binary_sensor.front_door_doorbell
|
|
from: 'off'
|
|
to: 'on'
|
|
conditions:
|
|
- condition: state
|
|
entity_id: input_boolean.disable_doorbell
|
|
state: 'off'
|
|
actions:
|
|
- action: media_player.volume_set
|
|
entity_id:
|
|
- media_player.office
|
|
data:
|
|
volume_level: '0.6'
|
|
- delay: 00:00:01
|
|
- action: tts.amazon_polly_say
|
|
entity_id: media_player.office
|
|
data:
|
|
message: Someone is at the Front Door.
|
|
- alias: Notification - Double Garage Door Open 15 Minutes At Night
|
|
id: double_garage_open_15_minutes_at_night_notification
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: cover.double_garage
|
|
to: open
|
|
for:
|
|
hours: 0
|
|
minutes: 15
|
|
seconds: 0
|
|
conditions:
|
|
- condition: state
|
|
entity_id: input_boolean.disable_notifications
|
|
state: 'off'
|
|
- condition: sun
|
|
after: sunset
|
|
after_offset: -01:00:00
|
|
before: sunrise
|
|
actions:
|
|
- action: notify.mobile_app_USER1_iphone
|
|
data:
|
|
message: Double Garage Door Still Open
|
|
data:
|
|
push:
|
|
category: camera
|
|
entity_id: camera.garage_high
|
|
- alias: Notification - Single Garage Door Open 15 Minutes At Night
|
|
id: single_garage_open_15_minutes_at_night_notification
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: cover.single_garage
|
|
to: open
|
|
for:
|
|
hours: 0
|
|
minutes: 15
|
|
seconds: 0
|
|
conditions:
|
|
- condition: state
|
|
entity_id: input_boolean.disable_notifications
|
|
state: 'off'
|
|
- condition: sun
|
|
after: sunset
|
|
after_offset: -01:00:00
|
|
before: sunrise
|
|
actions:
|
|
- action: notify.mobile_app_USER1_iphone
|
|
data:
|
|
message: Single Garage Door Still Open
|
|
data:
|
|
push:
|
|
category: camera
|
|
entity_id: camera.garage_high
|
|
- alias: Notification - Double Garage Door Left Open 20m When Cold
|
|
id: double_garage_open_20_minutes_when_cold_notification
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: cover.double_garage
|
|
to: open
|
|
for:
|
|
hours: 0
|
|
minutes: 20
|
|
seconds: 0
|
|
conditions:
|
|
- condition: state
|
|
entity_id: input_boolean.disable_notifications
|
|
state: 'off'
|
|
- condition: numeric_state
|
|
entity_id: sensor.pirateweather_temperature
|
|
below: 45
|
|
actions:
|
|
- action: notify.mobile_app_USER1_iphone
|
|
data:
|
|
message: Double Garage Door Open 20m in Cold Weather
|
|
data:
|
|
push:
|
|
category: camera
|
|
entity_id: camera.garage_high
|
|
- alias: Notification - Single Garage Door Left Open 20m When Cold
|
|
id: single_garage_open_20_minutes_when_cold_notification
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: cover.single_garage
|
|
to: open
|
|
for:
|
|
hours: 0
|
|
minutes: 20
|
|
seconds: 0
|
|
conditions:
|
|
- condition: state
|
|
entity_id: input_boolean.disable_notifications
|
|
state: 'off'
|
|
- condition: numeric_state
|
|
entity_id: sensor.pirateweather_temperature
|
|
below: 45
|
|
actions:
|
|
- action: notify.mobile_app_USER1_iphone
|
|
data:
|
|
message: Single Garage Door Open 20m in Cold Weather
|
|
data:
|
|
push:
|
|
category: camera
|
|
entity_id: camera.garage_high
|
|
- alias: Notification - Double Garage Door Left Open At Night
|
|
id: double_garage_left_open_at_night_notification
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: sun.sun
|
|
to: below_horizon
|
|
for:
|
|
hours: 0
|
|
minutes: 10
|
|
seconds: 0
|
|
conditions:
|
|
- condition: state
|
|
entity_id: input_boolean.disable_notifications
|
|
state: 'off'
|
|
- condition: state
|
|
entity_id: cover.double_garage
|
|
state: open
|
|
actions:
|
|
- action: notify.mobile_app_USER1_iphone
|
|
data:
|
|
message: Double Garage Door Still Open
|
|
data:
|
|
push:
|
|
category: camera
|
|
entity_id: camera.garage_high
|
|
- action: notify.mobile_app_USER2_iphone
|
|
data:
|
|
message: Double Garage Door Still Open
|
|
data:
|
|
push:
|
|
category: camera
|
|
entity_id: camera.garage_high
|
|
- alias: Notification - Single Garage Door Left Open At Night
|
|
id: single_garage_left_open_at_night_notification
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: sun.sun
|
|
to: below_horizon
|
|
for:
|
|
hours: 0
|
|
minutes: 10
|
|
seconds: 0
|
|
conditions:
|
|
- condition: state
|
|
entity_id: input_boolean.disable_notifications
|
|
state: 'off'
|
|
- condition: state
|
|
entity_id: cover.single_garage
|
|
state: open
|
|
actions:
|
|
- action: notify.mobile_app_USER1_iphone
|
|
data:
|
|
message: Single Garage Door Still Open
|
|
data:
|
|
push:
|
|
category: camera
|
|
entity_id: camera.garage_high
|
|
- action: notify.mobile_app_USER2_iphone
|
|
data:
|
|
message: Single Garage Door Still Open
|
|
data:
|
|
push:
|
|
category: camera
|
|
entity_id: camera.garage_high
|
|
- alias: Double Garage Door Opening
|
|
id: double_garage_door_opening
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: input_boolean.garage_double_door_motor
|
|
to: 'on'
|
|
actions:
|
|
- delay: 00:00:45
|
|
- action: homeassistant.turn_off
|
|
entity_id: input_boolean.garage_double_door_motor
|
|
- alias: Garage - USER1 Home from Driving Open Garage Door
|
|
id: garage_USER1_home_from_driving_open_garage_door
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: person.USER1
|
|
from: not_home
|
|
to: home
|
|
conditions:
|
|
- condition: state
|
|
entity_id: input_boolean.disable_auto_garage
|
|
state: 'off'
|
|
- condition: state
|
|
entity_id: sensor.USER1_iphone_activity
|
|
state: Automotive
|
|
- condition: state
|
|
entity_id: cover.double_garage
|
|
state: closed
|
|
- condition: state
|
|
entity_id: input_boolean.garage_double_door_motor
|
|
state: 'off'
|
|
actions:
|
|
- action: homeassistant.turn_on
|
|
entity_id: input_boolean.garage_double_door_motor
|
|
- action: cover.open_cover
|
|
entity_id: cover.double_garage
|
|
- alias: Garage - USER1 Away from Driving Close Garage Door
|
|
id: garage_USER1_away_from_driving_close_garage_door
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: person.USER1
|
|
from: home
|
|
to: not_home
|
|
conditions:
|
|
- condition: state
|
|
entity_id: input_boolean.disable_auto_garage
|
|
state: 'off'
|
|
- condition: state
|
|
entity_id: sensor.USER1_iphone_activity
|
|
state: Automotive
|
|
- condition: state
|
|
entity_id: cover.double_garage
|
|
state: open
|
|
- condition: state
|
|
entity_id: input_boolean.garage_double_door_motor
|
|
state: 'off'
|
|
actions:
|
|
- action: notify.mobile_app_USER1_iphone
|
|
data:
|
|
message: Garage Left Open!
|
|
data:
|
|
apns_headers:
|
|
apns-collapse-id: doublegarage-close
|
|
push:
|
|
badge: 0
|
|
category: doublegarageclose
|
|
- alias: Garage - USER2 Home from Driving Open Garage Door
|
|
id: garage_USER2_home_from_driving_open_garage_door
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: person.USER2
|
|
from: not_home
|
|
to: home
|
|
conditions:
|
|
- condition: state
|
|
entity_id: input_boolean.disable_auto_garage
|
|
state: 'off'
|
|
- condition: state
|
|
entity_id: sensor.USER2_iphone_activity
|
|
state: Automotive
|
|
- condition: state
|
|
entity_id: cover.double_garage
|
|
state: closed
|
|
- condition: state
|
|
entity_id: input_boolean.garage_double_door_motor
|
|
state: 'off'
|
|
actions:
|
|
- action: homeassistant.turn_on
|
|
entity_id: input_boolean.garage_double_door_motor
|
|
- action: cover.open_cover
|
|
entity_id: cover.double_garage
|
|
- alias: Garage - USER2 Away from Driving Close Garage Door
|
|
id: garage_USER2_away_from_driving_close_garage_door
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: person.USER2
|
|
from: home
|
|
to: not_home
|
|
conditions:
|
|
- condition: state
|
|
entity_id: input_boolean.disable_auto_garage
|
|
state: 'off'
|
|
- condition: state
|
|
entity_id: sensor.USER2_iphone_activity
|
|
state: Automotive
|
|
- condition: state
|
|
entity_id: cover.double_garage
|
|
state: open
|
|
- condition: state
|
|
entity_id: input_boolean.garage_double_door_motor
|
|
state: 'off'
|
|
actions:
|
|
- action: notify.mobile_app_USER1_iphone
|
|
data:
|
|
message: Garage Left Open!
|
|
data:
|
|
apns_headers:
|
|
apns-collapse-id: doublegarage-close
|
|
push:
|
|
badge: 0
|
|
category: doublegarageclose
|
|
- alias: Garage - USER4 Away from Driving Close Garage Door
|
|
id: garage_USER4_away_from_driving_close_garage_door
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: person.USER4
|
|
from: home
|
|
to: not_home
|
|
conditions:
|
|
- condition: state
|
|
entity_id: input_boolean.disable_auto_garage
|
|
state: 'off'
|
|
- condition: state
|
|
entity_id: cover.double_garage
|
|
state: open
|
|
- condition: state
|
|
entity_id: input_boolean.garage_double_door_motor
|
|
state: 'off'
|
|
actions:
|
|
- action: notify.mobile_app_USER1_iphone
|
|
data:
|
|
message: USER4 Left Garage Open!
|
|
data:
|
|
apns_headers:
|
|
apns-collapse-id: doublegarage-close
|
|
push:
|
|
badge: 0
|
|
category: doublegarageclose
|
|
- alias: Garage - Home Away Double Garage Left Open
|
|
id: garage_home_away_double_garage_left_open
|
|
triggers:
|
|
- trigger: numeric_state
|
|
entity_id: zone.home
|
|
below: 1
|
|
conditions:
|
|
- condition: state
|
|
entity_id: cover.double_garage
|
|
state: open
|
|
actions:
|
|
- action: notify.mobile_app_USER1_iphone
|
|
data:
|
|
message: AWAY ALERT - Double Garage Left Garage Open!
|
|
data:
|
|
apns_headers:
|
|
apns-collapse-id: doublegarage-close
|
|
push:
|
|
badge: 0
|
|
category: doublegarageclose
|
|
- alias: Garage - Home Away Single Garage Left Open
|
|
id: garage_home_away_single_garage_left_open
|
|
triggers:
|
|
- trigger: numeric_state
|
|
entity_id: zone.home
|
|
below: 1
|
|
conditions:
|
|
- condition: state
|
|
entity_id: cover.single_garage
|
|
state: open
|
|
actions:
|
|
- action: notify.mobile_app_USER1_iphone
|
|
data:
|
|
message: AWAY ALERT - Single Garage Left Garage Open!
|
|
data:
|
|
apns_headers:
|
|
apns-collapse-id: singlegarage-close
|
|
push:
|
|
badge: 0
|
|
category: singlegarageclose
|
|
- alias: Double Garage Door Counter
|
|
id: garage_double_garage_counter
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: cover.double_garage
|
|
to:
|
|
- open
|
|
- closed
|
|
action:
|
|
- action: counter.increment
|
|
entity_id: counter.double_garage_spring_counter
|
|
- alias: Single Garage Door Counter
|
|
id: garage_single_garage_counter
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: cover.single_garage
|
|
to: null
|
|
action:
|
|
- action: counter.increment
|
|
entity_id: counter.single_garage_spring_counter
|
|
- alias: Notification - Golf Cart Unplugged
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: sensor.golf_cart_status
|
|
to: unplugged
|
|
for:
|
|
hours: 0
|
|
minutes: 0
|
|
seconds: 60
|
|
conditions:
|
|
- condition: state
|
|
entity_id: input_boolean.disable_notifications
|
|
state: 'off'
|
|
actions:
|
|
- action: notify.mobile_app_USER1_iphone
|
|
data:
|
|
message: Golf Cart - Unplugged - {{states.sensor.golf_cart_current_power.state}}w
|
|
data:
|
|
push:
|
|
category: camera
|
|
entity_id: camera.garage_high
|
|
- alias: Notification Text - Home Assistant Start
|
|
triggers:
|
|
- trigger: homeassistant
|
|
event: start
|
|
actions:
|
|
- action: notify.mobile_app_USER1_iphone
|
|
data:
|
|
message: Home Assistant Started
|
|
- alias: Notification Log - Home Assistant Start
|
|
triggers:
|
|
- trigger: homeassistant
|
|
event: start
|
|
actions:
|
|
action: system_log.write
|
|
data:
|
|
message: Home Assistant started.
|
|
- alias: Notification Text - NAS Warning
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: sensor.nas_status
|
|
to: warning
|
|
actions:
|
|
- action: notify.mobile_app_USER1_iphone
|
|
data:
|
|
message: NAS RAID Failing
|
|
- alias: Notification Text - UPS Power Loss Alert
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: sensor.ups_status
|
|
from: Online
|
|
to: On Battery Battery Discharging
|
|
actions:
|
|
- action: notify.mobile_app_USER1_iphone
|
|
data:
|
|
message: Power Outage - UPS Runtime - {{states.sensor.ups_battery_runtime_mins.state}}
|
|
- alias: Notification Text - UPS Low Runtime Alert
|
|
triggers:
|
|
- trigger: numeric_state
|
|
entity_id: sensor.ups_battery_runtime_mins
|
|
below: 15
|
|
actions:
|
|
- action: notify.mobile_app_USER1_iphone
|
|
data:
|
|
message: 15 mins of UPS Battery Remaining!
|
|
- alias: Zwave - Unavailble Sensors in Home Assistant
|
|
id: hardware_zwave_unavailable_sesnors
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: binary_sensor.basement_drain_water_sensor
|
|
to: unavailable
|
|
variables:
|
|
trigger_message: Basement Drain Water Sensor Unavailable
|
|
- trigger: state
|
|
entity_id: binary_sensor.washing_machine_water_sensor
|
|
to: unavailable
|
|
variables:
|
|
trigger_message: Washing Machine Water Sensor Unavailable
|
|
- trigger: state
|
|
entity_id: binary_sensor.kitchen_sink_water_sensor
|
|
to: unavailable
|
|
variables:
|
|
trigger_message: Kitchen Sink Water Sensor Unavailable
|
|
- trigger: state
|
|
entity_id: binary_sensor.refrigerator_water_sensor
|
|
to: unavailable
|
|
variables:
|
|
trigger_message: Refrigerator Water Sensor Unavailable
|
|
- trigger: state
|
|
entity_id: binary_sensor.filtration_water_sensor
|
|
to: unavailable
|
|
variables:
|
|
trigger_message: Filtration Water Sensor Unavailable
|
|
- trigger: state
|
|
entity_id: binary_sensor.red_sea_floor_water_sensor
|
|
to: unavailable
|
|
variables:
|
|
trigger_message: Red Sea Floor Water Sensor Unavailable
|
|
- trigger: state
|
|
entity_id: binary_sensor.red_sea_sump_water_sensor
|
|
to: unavailable
|
|
variables:
|
|
trigger_message: Red Sea Sump Water Sensor Unavailable
|
|
- trigger: state
|
|
entity_id: switch.basement_bathroom
|
|
to: unavailable
|
|
variables:
|
|
trigger_message: Basement Bathroom Switch Unavailable
|
|
- trigger: state
|
|
entity_id: switch.basement_room
|
|
to: unavailable
|
|
variables:
|
|
trigger_message: Basement Room Switch Unavailable
|
|
actions:
|
|
- action: notify.mobile_app_USER1_iphone
|
|
data:
|
|
message: '{{ trigger_message }}'
|
|
- alias: Notification Text - AUX Heat
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: sensor.thermostat_aux_heat
|
|
from: 'off'
|
|
to: 'on'
|
|
actions:
|
|
- action: notify.mobile_app_USER1_iphone
|
|
data:
|
|
message: Aux Heat turned on
|
|
- alias: Household Home
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: group.household
|
|
from: not_home
|
|
to: home
|
|
conditions:
|
|
- condition: state
|
|
entity_id: sun.sun
|
|
state: below_horizon
|
|
actions:
|
|
action: light.turn_on
|
|
entity_id: light.family_room
|
|
data:
|
|
brightness: 255
|
|
- alias: Pantry Light On
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: binary_sensor.pantry_door
|
|
from: 'off'
|
|
to: 'on'
|
|
actions:
|
|
action: light.turn_on
|
|
entity_id: light.pantry
|
|
data:
|
|
brightness: 255
|
|
- alias: Pantry Light Off
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: binary_sensor.pantry_door
|
|
from: 'on'
|
|
to: 'off'
|
|
actions:
|
|
action: light.turn_off
|
|
entity_id: light.pantry
|
|
- alias: Hall Closet Light On
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: binary_sensor.hall_closet_door
|
|
from: 'off'
|
|
to: 'on'
|
|
actions:
|
|
action: light.turn_on
|
|
entity_id: light.hall_closet
|
|
data:
|
|
brightness: 255
|
|
- alias: Hall Closet Lights Off
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: binary_sensor.hall_closet_door
|
|
from: 'on'
|
|
to: 'off'
|
|
actions:
|
|
action: light.turn_off
|
|
entity_id: light.hall_closet
|
|
- alias: Hall Closet Lights Off - Left Open
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: light.hall_closet
|
|
from: 'off'
|
|
to: 'on'
|
|
for:
|
|
hours: 0
|
|
minutes: 10
|
|
seconds: 0
|
|
actions:
|
|
- action: notify.mobile_app_USER1_iphone
|
|
data:
|
|
message: Hall Closet Lights Left On!
|
|
data:
|
|
apns_headers:
|
|
apns-collapse-id: hallcloset-lights
|
|
push:
|
|
badge: 0
|
|
category: hallclosetlights
|
|
- alias: USER4 Bedroom Lights Off
|
|
triggers:
|
|
- trigger: time
|
|
at: '23:00:00'
|
|
conditions:
|
|
- condition: state
|
|
entity_id: person.USER4
|
|
state: home
|
|
actions:
|
|
- action: light.turn_off
|
|
entity_id: light.USER4_bedroom
|
|
- alias: USER3 Bedroom Lights Off
|
|
triggers:
|
|
- trigger: time
|
|
at: '23:00:00'
|
|
conditions:
|
|
- condition: state
|
|
entity_id: person.USER3
|
|
state: home
|
|
actions:
|
|
- action: light.turn_off
|
|
entity_id: light.USER3_bedroom
|
|
- alias: USER4 Bedroom Lights Off - Away
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: person.USER4
|
|
from: home
|
|
to: not_home
|
|
conditions:
|
|
- condition: state
|
|
entity_id: light.USER4_bedroom
|
|
state: 'on'
|
|
actions:
|
|
- action: light.turn_off
|
|
entity_id: light.USER4_bedroom
|
|
- alias: USER3 Bedroom Lights Off - Away
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: person.USER3
|
|
from: home
|
|
to: not_home
|
|
conditions:
|
|
- condition: state
|
|
entity_id: light.USER3_bedroom
|
|
state: 'on'
|
|
actions:
|
|
- action: light.turn_off
|
|
entity_id: light.USER3_bedroom
|
|
- id: basement.light.off.reset_theme
|
|
alias: Basement Lights Off - Reset Theme
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: light.basement
|
|
from: 'on'
|
|
to: 'off'
|
|
actions:
|
|
- action: input_select.select_option
|
|
target:
|
|
entity_id: input_select.basement_theme
|
|
data:
|
|
option: None
|
|
- alias: Wax Melt - Off after Time
|
|
id: wax_melt_off_after_time
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: switch.wax_melt
|
|
to: 'on'
|
|
for:
|
|
hours: 5
|
|
minutes: 0
|
|
seconds: 0
|
|
actions:
|
|
- action: homeassistant.turn_off
|
|
entity_id: switch.wax_melt
|
|
- alias: Wax Melt - Off after Away
|
|
id: wax_melt_off_after_away
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: group.household
|
|
from: home
|
|
to: not_home
|
|
actions:
|
|
- action: homeassistant.turn_off
|
|
entity_id: switch.wax_melt
|
|
- alias: iOS Action - Washing Machine Switch On
|
|
trigger:
|
|
- platform: event
|
|
event_type: ios.notification_action_fired
|
|
event_data:
|
|
actionName: WASHINGMACHINE_TURN_ON_SWITCH
|
|
action:
|
|
- service: switch.turn_on
|
|
entity_id: switch.washing_machine
|
|
- alias: iOS Action - Air Cleaner Switch On
|
|
trigger:
|
|
- platform: event
|
|
event_type: ios.notification_action_fired
|
|
event_data:
|
|
actionName: AIRCLEANER_TURN_ON_SWITCH
|
|
action:
|
|
- service: switch.turn_on
|
|
entity_id: switch.air_cleaner
|
|
- alias: iOS Action - Hall Closet Light Off
|
|
trigger:
|
|
- platform: event
|
|
event_type: ios.notification_action_fired
|
|
event_data:
|
|
actionName: HALLCLOSET_TURN_OFF_LIGHT
|
|
action:
|
|
- service: switch.turn_off
|
|
entity_id: light.hall_closet_lights
|
|
- alias: iOS Action - Biocube Pump Switch On
|
|
trigger:
|
|
- platform: event
|
|
event_type: ios.notification_action_fired
|
|
event_data:
|
|
actionName: BIOCUBEPUMP_TURN_ON_SWITCH
|
|
action:
|
|
- service: switch.turn_on
|
|
entity_id: switch.biocube_pump
|
|
- alias: iOS Action - Biocube Wavemaker Switch On
|
|
trigger:
|
|
- platform: event
|
|
event_type: ios.notification_action_fired
|
|
event_data:
|
|
actionName: BIOCUBEWAVEMAKER_TURN_ON_SWITCH
|
|
action:
|
|
- service: switch.turn_on
|
|
entity_id: switch.biocube_wavemaker
|
|
- alias: iOS Action - Biocube Maintenance Mode Off
|
|
trigger:
|
|
- platform: event
|
|
event_type: ios.notification_action_fired
|
|
event_data:
|
|
actionName: BIOCUBEMAINTENANCE_TURN_OFF_SWITCH
|
|
action:
|
|
- service: switch.turn_off
|
|
entity_id: input_boolean.biocube_maintenance_mode
|
|
- alias: Notification - Washing Machine Done
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: sensor.washing_machine_status
|
|
from: running
|
|
to: not running
|
|
for:
|
|
hours: 0
|
|
minutes: 2
|
|
seconds: 0
|
|
conditions:
|
|
- condition: state
|
|
entity_id: group.household
|
|
state: home
|
|
actions:
|
|
- action: notify.mobile_app_USER1_iphone
|
|
data:
|
|
message: Washing Machine - Done
|
|
- alias: Laundry - Washing Machine Switch Off Notification
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: switch.washing_machine
|
|
from: 'on'
|
|
to: 'off'
|
|
conditions:
|
|
- condition: state
|
|
entity_id: input_boolean.disable_notifications
|
|
state: 'off'
|
|
actions:
|
|
- action: notify.mobile_app_USER1_iphone
|
|
data:
|
|
message: Washing Machine Switch Turned Off!
|
|
data:
|
|
apns_headers:
|
|
apns-collapse-id: laundry-switch
|
|
push:
|
|
badge: 0
|
|
category: washingmachineswitch
|
|
- alias: Magic Mirror Off when Away
|
|
id: magicmirror_off_away
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: group.family
|
|
from: home
|
|
to: not_home
|
|
actions:
|
|
- action: homeassistant.turn_off
|
|
entity_id: switch.magicmirror_display
|
|
- alias: Magic Mirror On when Home
|
|
id: magicmirror_on_away
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: group.family
|
|
from: not_home
|
|
to: home
|
|
conditions:
|
|
- condition: time
|
|
after: 05:00:00
|
|
before: '23:00:00'
|
|
actions:
|
|
- action: homeassistant.turn_on
|
|
entity_id: switch.magicmirror_display
|
|
- action: homeassistant.turn_on
|
|
entity_id: switch.magicmirror_restart
|
|
- alias: Magic Mirror Turn Off At Night
|
|
id: magicmirror_turn_off_at_night
|
|
triggers:
|
|
- trigger: time
|
|
at: '23:00:00'
|
|
actions:
|
|
- action: homeassistant.turn_off
|
|
entity_id: switch.magicmirror_display
|
|
- alias: Magic Mirror Turn On At Morning
|
|
id: magicmirror_turn_on_at_morning
|
|
triggers:
|
|
- trigger: time
|
|
at: 06:30:00
|
|
actions:
|
|
- action: homeassistant.turn_on
|
|
entity_id: switch.magicmirror_display
|
|
- action: homeassistant.turn_on
|
|
entity_id: switch.magicmirror_restart
|
|
- alias: Basement Harmony - Turn Off when TV Falls Asleep
|
|
id: basement_harmony_turn_off
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: media_player.basement_tv
|
|
to: 'off'
|
|
for:
|
|
hours: 0
|
|
minutes: 5
|
|
seconds: 0
|
|
conditions:
|
|
condition: not
|
|
conditions:
|
|
- condition: state
|
|
entity_id: sensor.basement_media_center
|
|
state: PowerOff
|
|
actions:
|
|
- action: input_select.select_option
|
|
data:
|
|
option: PowerOff
|
|
target:
|
|
entity_id: input_select.remote_basement
|
|
- alias: Basement Harmony - Turn Off when TV Falls Asleep
|
|
id: family_room_harmony_turn_off
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: media_player.family_room_tv
|
|
to: 'off'
|
|
for:
|
|
hours: 0
|
|
minutes: 5
|
|
seconds: 0
|
|
conditions:
|
|
condition: not
|
|
conditions:
|
|
- condition: state
|
|
entity_id: sensor.family_room_media_center
|
|
state: PowerOff
|
|
actions:
|
|
- action: input_select.select_option
|
|
data:
|
|
option: PowerOff
|
|
target:
|
|
entity_id: input_select.remote_family_room
|
|
- alias: Network - WAN Down Notification
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: binary_sensor.wan
|
|
to: 'off'
|
|
for:
|
|
hours: 0
|
|
minutes: 1
|
|
seconds: 0
|
|
conditions:
|
|
- condition: state
|
|
entity_id: input_boolean.disable_notifications
|
|
state: 'off'
|
|
actions:
|
|
- action: persistent_notification.create
|
|
data:
|
|
message: Internet Down
|
|
title: WAN
|
|
notification_id: '1'
|
|
- alias: Network - WAN Up Notification
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: binary_sensor.wan
|
|
from: 'off'
|
|
to: 'on'
|
|
for:
|
|
hours: 0
|
|
minutes: 1
|
|
seconds: 0
|
|
conditions:
|
|
- condition: state
|
|
entity_id: input_boolean.disable_notifications
|
|
state: 'off'
|
|
actions:
|
|
- action: persistent_notification.create
|
|
data:
|
|
message: Internet Up
|
|
title: WAN
|
|
notification_id: '1'
|
|
- alias: Network - REDACTED VPN Down Notification
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: binary_sensor.REDACTED_vpn
|
|
to: 'off'
|
|
for:
|
|
hours: 0
|
|
minutes: 5
|
|
seconds: 0
|
|
conditions:
|
|
- condition: state
|
|
entity_id: input_boolean.disable_notifications
|
|
state: 'off'
|
|
- condition: state
|
|
entity_id: binary_sensor.wan
|
|
state: 'on'
|
|
actions:
|
|
- action: notify.mobile_app_USER1_iphone
|
|
data:
|
|
message: REDACTED VPN Down
|
|
- alias: Network - REDACTED VPN Up Notification
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: binary_sensor.REDACTED_vpn
|
|
from: 'off'
|
|
to: 'on'
|
|
for:
|
|
hours: 0
|
|
minutes: 5
|
|
seconds: 0
|
|
conditions:
|
|
- condition: state
|
|
entity_id: input_boolean.disable_notifications
|
|
state: 'off'
|
|
actions:
|
|
- action: notify.mobile_app_USER1_iphone
|
|
data:
|
|
message: REDACTED VPN Up
|
|
- alias: Network - REDACTED VPN Down Notification
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: binary_sensor.REDACTED_vpn
|
|
to: 'off'
|
|
for:
|
|
hours: 0
|
|
minutes: 5
|
|
seconds: 0
|
|
conditions:
|
|
- condition: state
|
|
entity_id: input_boolean.disable_notifications
|
|
state: 'off'
|
|
- condition: state
|
|
entity_id: binary_sensor.wan
|
|
state: 'on'
|
|
actions:
|
|
- action: notify.mobile_app_USER1_iphone
|
|
data:
|
|
message: REDACTED VPN Down
|
|
- alias: Network - REDACTED VPN Up Notification
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: binary_sensor.REDACTED_vpn
|
|
from: 'off'
|
|
to: 'on'
|
|
for:
|
|
hours: 0
|
|
minutes: 5
|
|
seconds: 0
|
|
conditions:
|
|
- condition: state
|
|
entity_id: input_boolean.disable_notifications
|
|
state: 'off'
|
|
actions:
|
|
- action: notify.mobile_app_USER1_iphone
|
|
data:
|
|
message: REDACTED VPN Up
|
|
- alias: Network - REDACTED IP Change Notification
|
|
id: network_REDACTED_ip_change_notification
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: sensor.REDACTED
|
|
actions:
|
|
- action: notify.mobile_app_USER1_iphone
|
|
data:
|
|
message: ALERT - REDACTED IP Changed
|
|
- alias: Network - REDACTED IP Change Notification
|
|
id: network_REDACTED_ip_change_notification
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: sensor.REDACTED
|
|
actions:
|
|
- action: notify.mobile_app_USER1_iphone
|
|
data:
|
|
message: ALERT - REDACTED IP Changed
|
|
- alias: Network - HCS WAN Gateway Down Notification
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: binary_sensor.hcs_wan_gateway
|
|
to: 'off'
|
|
for:
|
|
hours: 0
|
|
minutes: 0
|
|
seconds: 30
|
|
conditions:
|
|
- condition: state
|
|
entity_id: input_boolean.disable_notifications
|
|
state: 'off'
|
|
actions:
|
|
- action: persistent_notification.create
|
|
data:
|
|
message: HCS WAN Gateway Down
|
|
title: HCS
|
|
notification_id: '1'
|
|
- action: notify.mobile_app_USER1_iphone
|
|
data:
|
|
message: ALERT - HCS WAN Gateway Down
|
|
- alias: Network - HCS WAN Gateway Up Notification
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: binary_sensor.hcs_wan_gateway
|
|
from: 'off'
|
|
to: 'on'
|
|
conditions:
|
|
- condition: state
|
|
entity_id: input_boolean.disable_notifications
|
|
state: 'off'
|
|
actions:
|
|
- action: persistent_notification.create
|
|
data:
|
|
message: HCS WAN Gateway Down
|
|
title: HCS
|
|
notification_id: '1'
|
|
- action: notify.mobile_app_USER1_iphone
|
|
data:
|
|
message: ALERT - HCS WAN Gateway Up
|
|
- alias: Outdoor Theme - American On
|
|
triggers:
|
|
- trigger: sun
|
|
event: sunset
|
|
offset: -00:15:00
|
|
conditions:
|
|
- condition: state
|
|
entity_id: input_select.outdoor_theme
|
|
state: American
|
|
actions:
|
|
- action: light.turn_on
|
|
entity_id: light.front_door
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 50
|
|
color_name: white
|
|
- action: light.turn_on
|
|
entity_id: light.garage_1
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
color_name: blue
|
|
- action: light.turn_on
|
|
entity_id: light.garage_2
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
color_name: white
|
|
- action: light.turn_on
|
|
entity_id: light.garage_3
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
color_name: red
|
|
- action: light.turn_on
|
|
entity_id: light.outdoor_spot_1
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
color_name: blue
|
|
- action: light.turn_on
|
|
entity_id: light.outdoor_spot_2
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
color_name: white
|
|
- action: light.turn_on
|
|
entity_id: light.outdoor_spot_3
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
color_name: white
|
|
- action: light.turn_on
|
|
entity_id: light.outdoor_spot_4
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
color_name: red
|
|
- action: light.turn_on
|
|
entity_id: light.outdoor_spot_5
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
color_name: blue
|
|
- action: light.turn_on
|
|
entity_id: light.outdoor_spot_6
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
color_name: white
|
|
- action: light.turn_on
|
|
entity_id: light.outdoor_spot_7
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
color_name: red
|
|
- action: light.turn_on
|
|
entity_id: light.walkout
|
|
data:
|
|
brightness_pct: 100
|
|
- alias: Outdoor Theme - Blue On
|
|
triggers:
|
|
- trigger: sun
|
|
event: sunset
|
|
offset: -00:15:00
|
|
conditions:
|
|
- condition: state
|
|
entity_id: input_select.outdoor_theme
|
|
state: Blue
|
|
actions:
|
|
- action: light.turn_on
|
|
entity_id: light.front_door
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 50
|
|
color_name: blue
|
|
- action: light.turn_on
|
|
entity_id: light.garage_1
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
color_name: blue
|
|
- action: light.turn_on
|
|
entity_id: light.garage_2
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
color_name: blue
|
|
- action: light.turn_on
|
|
entity_id: light.garage_3
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
color_name: blue
|
|
- action: light.turn_on
|
|
entity_id: light.outdoor_spot_1
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
color_name: blue
|
|
- action: light.turn_on
|
|
entity_id: light.outdoor_spot_2
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
color_name: blue
|
|
- action: light.turn_on
|
|
entity_id: light.outdoor_spot_3
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
color_name: blue
|
|
- action: light.turn_on
|
|
entity_id: light.outdoor_spot_4
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
color_name: blue
|
|
- action: light.turn_on
|
|
entity_id: light.outdoor_spot_5
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
color_name: blue
|
|
- action: light.turn_on
|
|
entity_id: light.outdoor_spot_6
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
color_name: blue
|
|
- action: light.turn_on
|
|
entity_id: light.outdoor_spot_7
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
color_name: blue
|
|
- action: light.turn_on
|
|
entity_id: light.walkout
|
|
data:
|
|
brightness_pct: 100
|
|
- alias: Outdoor Theme - Bug Mode On
|
|
triggers:
|
|
- trigger: sun
|
|
event: sunset
|
|
offset: -00:15:00
|
|
conditions:
|
|
- condition: state
|
|
entity_id: input_select.outdoor_theme
|
|
state: Bug Mode
|
|
actions:
|
|
- action: light.turn_on
|
|
entity_id: light.front_door
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 30
|
|
color_name: gold
|
|
- action: light.turn_on
|
|
entity_id: light.garage_1
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
color_name: gold
|
|
- action: light.turn_on
|
|
entity_id: light.garage_2
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
color_name: gold
|
|
- action: light.turn_on
|
|
entity_id: light.garage_3
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
color_name: gold
|
|
- action: light.turn_on
|
|
entity_id: light.outdoor_spot_1
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
color_name: gold
|
|
- action: light.turn_on
|
|
entity_id: light.outdoor_spot_2
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
color_name: gold
|
|
- action: light.turn_on
|
|
entity_id: light.outdoor_spot_3
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
color_name: gold
|
|
- action: light.turn_on
|
|
entity_id: light.outdoor_spot_4
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
color_name: gold
|
|
- action: light.turn_on
|
|
entity_id: light.outdoor_spot_5
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
color_name: gold
|
|
- action: light.turn_on
|
|
entity_id: light.outdoor_spot_6
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
color_name: gold
|
|
- action: light.turn_on
|
|
entity_id: light.outdoor_spot_7
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
color_name: gold
|
|
- action: light.turn_on
|
|
entity_id: light.walkout
|
|
data:
|
|
brightness_pct: 100
|
|
- alias: Outdoor Theme - Bug Mode On After 10 Minutes
|
|
triggers:
|
|
- trigger: sun
|
|
event: sunset
|
|
offset: -00:05:00
|
|
conditions:
|
|
- condition: state
|
|
entity_id: input_select.outdoor_theme
|
|
state: Bug Mode
|
|
actions:
|
|
- action: light.turn_on
|
|
entity_id: light.front_door
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 30
|
|
color_name: gold
|
|
- action: light.turn_on
|
|
entity_id: light.garage_1
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
color_name: gold
|
|
- action: light.turn_on
|
|
entity_id: light.garage_2
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
color_name: gold
|
|
- action: light.turn_on
|
|
entity_id: light.garage_3
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
color_name: gold
|
|
- action: light.turn_on
|
|
entity_id: light.outdoor_spot_1
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
color_name: gold
|
|
- action: light.turn_on
|
|
entity_id: light.outdoor_spot_2
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
color_name: gold
|
|
- action: light.turn_on
|
|
entity_id: light.outdoor_spot_3
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
color_name: gold
|
|
- action: light.turn_on
|
|
entity_id: light.outdoor_spot_4
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
color_name: gold
|
|
- action: light.turn_on
|
|
entity_id: light.outdoor_spot_5
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
color_name: gold
|
|
- action: light.turn_on
|
|
entity_id: light.outdoor_spot_6
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
color_name: gold
|
|
- action: light.turn_on
|
|
entity_id: light.outdoor_spot_7
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
color_name: gold
|
|
- action: light.turn_on
|
|
entity_id: light.walkout
|
|
data:
|
|
brightness_pct: 100
|
|
- alias: Outdoor Theme - Christmas On
|
|
triggers:
|
|
- trigger: sun
|
|
event: sunset
|
|
offset: -00:15:00
|
|
conditions:
|
|
- condition: state
|
|
entity_id: input_select.outdoor_theme
|
|
state: Christmas
|
|
actions:
|
|
- action: light.turn_on
|
|
entity_id: light.front_door
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 50
|
|
color_name: green
|
|
- action: light.turn_on
|
|
entity_id: light.garage_1
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
color_name: green
|
|
- action: light.turn_on
|
|
entity_id: light.garage_2
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
color_name: red
|
|
- action: light.turn_on
|
|
entity_id: light.garage_3
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
color_name: green
|
|
- action: light.turn_on
|
|
entity_id: light.outdoor_spot_1
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
color_name: green
|
|
- action: light.turn_on
|
|
entity_id: light.outdoor_spot_2
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
color_name: red
|
|
- action: light.turn_on
|
|
entity_id: light.outdoor_spot_3
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
color_name: green
|
|
- action: light.turn_on
|
|
entity_id: light.outdoor_spot_4
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
color_name: red
|
|
- action: light.turn_on
|
|
entity_id: light.outdoor_spot_5
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
color_name: green
|
|
- action: light.turn_on
|
|
entity_id: light.outdoor_spot_6
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
color_name: red
|
|
- action: light.turn_on
|
|
entity_id: light.outdoor_spot_7
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
color_name: green
|
|
- action: light.turn_on
|
|
entity_id: light.walkout
|
|
data:
|
|
brightness_pct: 100
|
|
- alias: Outdoor Theme - Default On
|
|
triggers:
|
|
- trigger: sun
|
|
event: sunset
|
|
offset: -00:15:00
|
|
conditions:
|
|
- condition: state
|
|
entity_id: input_select.outdoor_theme
|
|
state: Default
|
|
actions:
|
|
- action: light.turn_on
|
|
entity_id: light.front_door
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 50
|
|
kelvin: 2700
|
|
- action: light.turn_on
|
|
entity_id: light.garage_1
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
kelvin: 2700
|
|
- action: light.turn_on
|
|
entity_id: light.garage_2
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
kelvin: 2700
|
|
- action: light.turn_on
|
|
entity_id: light.garage_3
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
kelvin: 2700
|
|
- action: light.turn_on
|
|
entity_id: light.outdoor_spot_1
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 30
|
|
kelvin: 2700
|
|
- action: light.turn_on
|
|
entity_id: light.outdoor_spot_2
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 30
|
|
kelvin: 2700
|
|
- action: light.turn_on
|
|
entity_id: light.outdoor_spot_3
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 30
|
|
kelvin: 2700
|
|
- action: light.turn_on
|
|
entity_id: light.outdoor_spot_4
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 30
|
|
kelvin: 2700
|
|
- action: light.turn_on
|
|
entity_id: light.outdoor_spot_5
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 30
|
|
kelvin: 2700
|
|
- action: light.turn_on
|
|
entity_id: light.outdoor_spot_6
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 30
|
|
kelvin: 2700
|
|
- action: light.turn_on
|
|
entity_id: light.outdoor_spot_7
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 30
|
|
kelvin: 2700
|
|
- action: light.turn_on
|
|
entity_id: light.walkout
|
|
data:
|
|
brightness_pct: 30
|
|
- alias: Outdoor Theme - Easter On
|
|
triggers:
|
|
- trigger: sun
|
|
event: sunset
|
|
offset: -00:15:00
|
|
conditions:
|
|
- condition: state
|
|
entity_id: input_select.outdoor_theme
|
|
state: Easter
|
|
actions:
|
|
- action: light.turn_on
|
|
entity_id: light.front_door
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 50
|
|
color_name: yellowgreen
|
|
- action: light.turn_on
|
|
entity_id: light.garage_1
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
color_name: aqua
|
|
- action: light.turn_on
|
|
entity_id: light.garage_2
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
color_name: lime
|
|
- action: light.turn_on
|
|
entity_id: light.garage_3
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
color_name: plum
|
|
- action: light.turn_on
|
|
entity_id: light.outdoor_spot_1
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
color_name: aqua
|
|
- action: light.turn_on
|
|
entity_id: light.outdoor_spot_2
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
color_name: magenta
|
|
- action: light.turn_on
|
|
entity_id: light.outdoor_spot_3
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
color_name: lime
|
|
- action: light.turn_on
|
|
entity_id: light.outdoor_spot_4
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
color_name: pink
|
|
- action: light.turn_on
|
|
entity_id: light.outdoor_spot_5
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
color_name: plum
|
|
- action: light.turn_on
|
|
entity_id: light.outdoor_spot_6
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
color_name: yellowgreen
|
|
- action: light.turn_on
|
|
entity_id: light.outdoor_spot_7
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
color_name: turquoise
|
|
- action: light.turn_on
|
|
entity_id: light.walkout
|
|
data:
|
|
brightness_pct: 100
|
|
- alias: Outdoor Theme - Halloween On
|
|
triggers:
|
|
- trigger: sun
|
|
event: sunset
|
|
offset: -00:15:00
|
|
conditions:
|
|
- condition: state
|
|
entity_id: input_select.outdoor_theme
|
|
state: Halloween
|
|
actions:
|
|
- action: light.turn_on
|
|
entity_id: light.front_door
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 50
|
|
color_name: orange
|
|
- action: light.turn_on
|
|
entity_id: light.garage_1
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
color_name: orange
|
|
- action: light.turn_on
|
|
entity_id: light.garage_2
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
color_name: blueviolet
|
|
- action: light.turn_on
|
|
entity_id: light.garage_3
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
color_name: orange
|
|
- action: light.turn_on
|
|
entity_id: light.outdoor_spot_1
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
color_name: orange
|
|
- action: light.turn_on
|
|
entity_id: light.outdoor_spot_2
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
color_name: blueviolet
|
|
- action: light.turn_on
|
|
entity_id: light.outdoor_spot_3
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
color_name: orange
|
|
- action: light.turn_on
|
|
entity_id: light.outdoor_spot_4
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
color_name: blueviolet
|
|
- action: light.turn_on
|
|
entity_id: light.outdoor_spot_5
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
color_name: orange
|
|
- action: light.turn_on
|
|
entity_id: light.outdoor_spot_6
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
color_name: blueviolet
|
|
- action: light.turn_on
|
|
entity_id: light.outdoor_spot_7
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
color_name: orange
|
|
- action: light.turn_on
|
|
entity_id: light.walkout
|
|
data:
|
|
brightness_pct: 100
|
|
- alias: Outdoor Theme - Party On
|
|
id: outdoor_theme_party_on
|
|
triggers:
|
|
- trigger: sun
|
|
event: sunset
|
|
offset: -00:15:00
|
|
conditions:
|
|
- condition: state
|
|
entity_id: input_select.outdoor_theme
|
|
state: Party
|
|
actions:
|
|
- action: light.turn_on
|
|
entity_id: light.front_door
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 50
|
|
hs_color:
|
|
- '{{ (range(0, 360)|random) }}'
|
|
- '100'
|
|
- action: light.turn_on
|
|
entity_id: light.garage_1
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
hs_color:
|
|
- '{{ (range(0, 360)|random) }}'
|
|
- '100'
|
|
- action: light.turn_on
|
|
entity_id: light.garage_2
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
hs_color:
|
|
- '{{ (range(0, 360)|random) }}'
|
|
- '100'
|
|
- action: light.turn_on
|
|
entity_id: light.garage_3
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
hs_color:
|
|
- '{{ (range(0, 360)|random) }}'
|
|
- '100'
|
|
- action: light.turn_on
|
|
entity_id: light.outdoor_spot_1
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
hs_color:
|
|
- '{{ (range(0, 360)|random) }}'
|
|
- '100'
|
|
- action: light.turn_on
|
|
entity_id: light.outdoor_spot_2
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
hs_color:
|
|
- '{{ (range(0, 360)|random) }}'
|
|
- '100'
|
|
- action: light.turn_on
|
|
entity_id: light.outdoor_spot_3
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
hs_color:
|
|
- '{{ (range(0, 360)|random) }}'
|
|
- '100'
|
|
- action: light.turn_on
|
|
entity_id: light.outdoor_spot_4
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
hs_color:
|
|
- '{{ (range(0, 360)|random) }}'
|
|
- '100'
|
|
- action: light.turn_on
|
|
entity_id: light.outdoor_spot_5
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
hs_color:
|
|
- '{{ (range(0, 360)|random) }}'
|
|
- '100'
|
|
- action: light.turn_on
|
|
entity_id: light.outdoor_spot_6
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
hs_color:
|
|
- '{{ (range(0, 360)|random) }}'
|
|
- '100'
|
|
- action: light.turn_on
|
|
entity_id: light.outdoor_spot_7
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
hs_color:
|
|
- '{{ (range(0, 360)|random) }}'
|
|
- '100'
|
|
- action: light.turn_on
|
|
entity_id: light.walkout
|
|
data:
|
|
brightness_pct: 100
|
|
- action: homeassistant.turn_on
|
|
entity_id: input_boolean.animate_outside
|
|
- alias: Outdoor Theme Random Color Change
|
|
id: outdoor_theme_random_color_change
|
|
triggers:
|
|
- trigger: time_pattern
|
|
seconds: /10
|
|
conditions:
|
|
- condition: state
|
|
entity_id: input_boolean.animate_outside
|
|
state: 'on'
|
|
- condition: state
|
|
entity_id: input_select.outdoor_theme
|
|
state: Party
|
|
actions:
|
|
- action: automation.trigger
|
|
entity_id: automation.outdoor_theme_party_on
|
|
- alias: Outdoor Theme - Pink On
|
|
triggers:
|
|
- trigger: sun
|
|
event: sunset
|
|
offset: -00:15:00
|
|
conditions:
|
|
- condition: state
|
|
entity_id: input_select.outdoor_theme
|
|
state: Pink
|
|
actions:
|
|
- action: light.turn_on
|
|
entity_id: light.front_door
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 50
|
|
color_name: deeppink
|
|
- action: light.turn_on
|
|
entity_id: light.garage_1
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
color_name: deeppink
|
|
- action: light.turn_on
|
|
entity_id: light.garage_2
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
color_name: deeppink
|
|
- action: light.turn_on
|
|
entity_id: light.garage_3
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
color_name: deeppink
|
|
- action: light.turn_on
|
|
entity_id: light.outdoor_spot_1
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
color_name: deeppink
|
|
- action: light.turn_on
|
|
entity_id: light.outdoor_spot_2
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
color_name: deeppink
|
|
- action: light.turn_on
|
|
entity_id: light.outdoor_spot_3
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
color_name: deeppink
|
|
- action: light.turn_on
|
|
entity_id: light.outdoor_spot_4
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
color_name: deeppink
|
|
- action: light.turn_on
|
|
entity_id: light.outdoor_spot_5
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
color_name: deeppink
|
|
- action: light.turn_on
|
|
entity_id: light.outdoor_spot_6
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
color_name: deeppink
|
|
- action: light.turn_on
|
|
entity_id: light.outdoor_spot_7
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
color_name: deeppink
|
|
- action: light.turn_on
|
|
entity_id: light.walkout
|
|
data:
|
|
brightness_pct: 100
|
|
- alias: Outside Lights - Front and Walkout Lights Off
|
|
id: outside_lights_front_and_walkout_lights_off
|
|
triggers:
|
|
- trigger: time
|
|
at: '23:30:00'
|
|
actions:
|
|
- action: homeassistant.turn_off
|
|
entity_id: light.walkout
|
|
- action: homeassistant.turn_off
|
|
entity_id: light.front_door
|
|
- alias: Outside Lights - Landscape Lights Dim
|
|
id: outside_lights_landscape_lights_dim
|
|
triggers:
|
|
- trigger: time
|
|
at: '23:35:00'
|
|
actions:
|
|
- action: light.turn_on
|
|
entity_id: light.landscape
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 30
|
|
- action: light.turn_on
|
|
entity_id: light.garage
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 50
|
|
- alias: Outside Lights - Off
|
|
id: outside_lights_off
|
|
triggers:
|
|
- trigger: time
|
|
at: 04:00:00
|
|
actions:
|
|
- action: homeassistant.turn_off
|
|
entity_id: light.garage
|
|
- action: homeassistant.turn_off
|
|
entity_id: light.landscape
|
|
- action: homeassistant.turn_off
|
|
entity_id: input_boolean.animate_outside
|
|
- alias: Outside Lights - Off 2
|
|
id: outside_lights_off_2
|
|
triggers:
|
|
- trigger: time
|
|
at: 04:10:00
|
|
actions:
|
|
- action: homeassistant.turn_off
|
|
entity_id: light.garage
|
|
- action: homeassistant.turn_off
|
|
entity_id: light.landscape
|
|
- alias: Outside Lights - Landscape Hue Light Fix - Night On
|
|
id: outside_lights_landscape_hue_light_fix_night_on
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: light.landscape
|
|
to: 'on'
|
|
for:
|
|
minutes: 2
|
|
conditions:
|
|
condition: and
|
|
conditions:
|
|
- condition: time
|
|
after: '17:01:00'
|
|
before: 03:00:00
|
|
- condition: or
|
|
conditions:
|
|
- condition: state
|
|
entity_id: light.outdoor_spot_1
|
|
state: 'off'
|
|
- condition: state
|
|
entity_id: light.outdoor_spot_2
|
|
state: 'off'
|
|
- condition: state
|
|
entity_id: light.outdoor_spot_3
|
|
state: 'off'
|
|
- condition: state
|
|
entity_id: light.outdoor_spot_4
|
|
state: 'off'
|
|
- condition: state
|
|
entity_id: light.outdoor_spot_5
|
|
state: 'off'
|
|
- condition: state
|
|
entity_id: light.outdoor_spot_6
|
|
state: 'off'
|
|
- condition: state
|
|
entity_id: light.outdoor_spot_7
|
|
state: 'off'
|
|
actions:
|
|
- action: light.turn_on
|
|
entity_id: light.landscape
|
|
- alias: Outside Lights - Garage Hue Light Fix
|
|
id: outside_lights_garage_hue_light_fix
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: light.garage
|
|
to: 'on'
|
|
for:
|
|
minutes: 2
|
|
conditions:
|
|
condition: or
|
|
conditions:
|
|
- condition: state
|
|
entity_id: light.garage_1
|
|
state: 'off'
|
|
- condition: state
|
|
entity_id: light.garage_2
|
|
state: 'off'
|
|
- condition: state
|
|
entity_id: light.garage_3
|
|
state: 'off'
|
|
actions:
|
|
- action: light.turn_on
|
|
entity_id: light.garage
|
|
- alias: Outside Lights - Garage Back Door Light On
|
|
id: outside_lights_garage_back_door_light_on
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: binary_sensor.garage_back_door
|
|
from: 'off'
|
|
to: 'on'
|
|
conditions:
|
|
- condition: state
|
|
entity_id: sun.sun
|
|
state: below_horizon
|
|
actions:
|
|
- action: light.turn_on
|
|
entity_id: light.garage_back_door
|
|
- delay: 00:15:00
|
|
- action: light.turn_off
|
|
entity_id: light.garage_back_door
|
|
- alias: Party - Outside to Colorloop
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: input_boolean.party_outside
|
|
to: 'on'
|
|
actions:
|
|
- delay: 00:00:25
|
|
- action: light.turn_on
|
|
entity_id: light.garage
|
|
data:
|
|
effect: colorloop
|
|
transition: 5
|
|
brightness_pct: 100
|
|
- alias: Party - Set Family Room to Random Color
|
|
id: party_family_room_color_on
|
|
triggers:
|
|
- trigger: time_pattern
|
|
seconds: /6
|
|
conditions:
|
|
- condition: state
|
|
entity_id: input_boolean.party_family_room
|
|
state: 'on'
|
|
actions:
|
|
- action: light.turn_on
|
|
entity_id: light.family_room
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
color_name: '{{ [''lawngreen'', ''blueviolet'', ''magenta'', ''yellow'', ''red'']
|
|
| random }}'
|
|
- alias: Party - Set Family Room to Random Color Off
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: input_boolean.party_family_room
|
|
to: 'off'
|
|
actions:
|
|
- action: light.turn_on
|
|
entity_id:
|
|
- light.family_room
|
|
data:
|
|
transition: 30
|
|
brightness_pct: 100
|
|
kelvin: 2700
|
|
- alias: Party - Set USER4 Bedroom to Random Color
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: input_boolean.party_USER4_bedroom
|
|
to: 'on'
|
|
actions:
|
|
- action: light.turn_on
|
|
entity_id: light.USER4_bedroom
|
|
data:
|
|
effect: colorloop
|
|
transition: 5
|
|
brightness_pct: 100
|
|
- alias: Party - Set USER4 Bedroom to Random Color Off
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: input_boolean.party_USER4_bedroom
|
|
to: 'off'
|
|
actions:
|
|
- action: light.turn_on
|
|
entity_id:
|
|
- light.USER4_bedroom
|
|
data:
|
|
transition: 30
|
|
brightness_pct: 100
|
|
kelvin: 2700
|
|
- alias: Party - Set Test Random Color
|
|
triggers:
|
|
- trigger: time_pattern
|
|
seconds: /6
|
|
conditions:
|
|
- condition: state
|
|
entity_id: input_boolean.party_family_room
|
|
state: 'on'
|
|
actions:
|
|
- action: light.turn_on
|
|
entity_id: light.family_room_2
|
|
data:
|
|
transition: 5
|
|
brightness_pct: 100
|
|
color_name: '{{ [''lawngreen'', ''blueviolet'', ''magenta'', ''yellow'', ''red'']
|
|
| random }}'
|
|
- alias: Master Bedroom Pico - On
|
|
id: pico_master_bedroom_pico_on
|
|
triggers:
|
|
- trigger: event
|
|
event_type: lutron_caseta_button_event
|
|
event_data:
|
|
serial: 43997118
|
|
button_type: 'on'
|
|
action: press
|
|
actions:
|
|
- action: light.turn_on
|
|
entity_id: light.master_bedroom
|
|
data:
|
|
brightness_pct: 100
|
|
kelvin: 2700
|
|
- alias: Master Bedroom Pico - Off
|
|
id: pico_master_bedroom_pico_off
|
|
triggers:
|
|
- trigger: event
|
|
event_type: lutron_caseta_button_event
|
|
event_data:
|
|
serial: 43997118
|
|
button_type: 'off'
|
|
action: press
|
|
actions:
|
|
- action: light.turn_off
|
|
entity_id: light.master_bedroom
|
|
- alias: Master Bedroom Pico - Raise
|
|
id: pico_master_bedroom_pico_raise
|
|
triggers:
|
|
- trigger: event
|
|
event_type: lutron_caseta_button_event
|
|
event_data:
|
|
serial: 43997118
|
|
button_type: raise
|
|
action: press
|
|
conditions:
|
|
- condition: state
|
|
entity_id: light.master_bedroom
|
|
state: 'on'
|
|
actions:
|
|
- action: light.turn_on
|
|
entity_id: light.master_bedroom
|
|
data:
|
|
brightness_pct: 75
|
|
- alias: Master Bedroom Pico - Lower
|
|
id: pico_master_bedroom_pico_lower
|
|
triggers:
|
|
- trigger: event
|
|
event_type: lutron_caseta_button_event
|
|
event_data:
|
|
serial: 43997118
|
|
button_type: lower
|
|
action: press
|
|
conditions:
|
|
- condition: state
|
|
entity_id: light.master_bedroom
|
|
state: 'on'
|
|
actions:
|
|
- action: light.turn_on
|
|
entity_id: light.master_bedroom
|
|
data:
|
|
brightness_pct: 40
|
|
- alias: Master Bedroom Pico - Favorite
|
|
id: pico_master_bedroom_pico_stop
|
|
triggers:
|
|
- trigger: event
|
|
event_type: lutron_caseta_button_event
|
|
event_data:
|
|
serial: 43997118
|
|
button_type: stop
|
|
action: press
|
|
actions:
|
|
- action: light.turn_on
|
|
entity_id: light.master_bedroom
|
|
data:
|
|
kelvin: 2700
|
|
- alias: Master Bedroom Pico - Favorite Long Press
|
|
id: pico_master_bedroom_pico_stop_long_press
|
|
triggers:
|
|
- trigger: event
|
|
event_type: lutron_caseta_button_event
|
|
event_data:
|
|
serial: 43997118
|
|
button_type: stop
|
|
action: press
|
|
actions:
|
|
- wait_for_trigger:
|
|
- trigger: event
|
|
event_type: lutron_caseta_button_event
|
|
event_data:
|
|
serial: 43997118
|
|
button_type: stop
|
|
action: release
|
|
timeout:
|
|
hours: 0
|
|
minutes: 0
|
|
seconds: 2
|
|
milliseconds: 0
|
|
continue_on_timeout: false
|
|
- action: light.turn_on
|
|
entity_id: light.master_bedroom
|
|
data:
|
|
kelvin: 3400
|
|
- alias: Basement Entry Pico - On
|
|
id: pico_basement_entry_pico_on
|
|
triggers:
|
|
- trigger: event
|
|
event_type: lutron_caseta_button_event
|
|
event_data:
|
|
serial: 43514236
|
|
button_type: 'on'
|
|
action: press
|
|
actions:
|
|
- action: light.turn_on
|
|
entity_id: light.basement_entry
|
|
data:
|
|
brightness_pct: 100
|
|
kelvin: 2700
|
|
- alias: Basement Entry Pico - Off
|
|
id: pico_basement_entry_pico_off
|
|
triggers:
|
|
- trigger: event
|
|
event_type: lutron_caseta_button_event
|
|
event_data:
|
|
serial: 43514236
|
|
button_type: 'off'
|
|
action: press
|
|
actions:
|
|
- action: light.turn_off
|
|
entity_id: light.basement_entry
|
|
- alias: Basement Entry Pico - Raise
|
|
id: pico_basement_entry_pico_raise
|
|
triggers:
|
|
- trigger: event
|
|
event_type: lutron_caseta_button_event
|
|
event_data:
|
|
serial: 43514236
|
|
button_type: raise
|
|
action: press
|
|
conditions:
|
|
- condition: state
|
|
entity_id: light.basement_entry
|
|
state: 'on'
|
|
actions:
|
|
- action: light.turn_on
|
|
entity_id: light.basement_entry
|
|
data:
|
|
brightness_pct: 60
|
|
- alias: Basement Entry Pico - Lower
|
|
id: pico_basement_entry_pico_lower
|
|
triggers:
|
|
- trigger: event
|
|
event_type: lutron_caseta_button_event
|
|
event_data:
|
|
serial: 43514236
|
|
button_type: lower
|
|
action: press
|
|
conditions:
|
|
- condition: state
|
|
entity_id: light.basement_entry
|
|
state: 'on'
|
|
actions:
|
|
- action: light.turn_on
|
|
entity_id: light.basement_entry
|
|
data:
|
|
brightness_pct: 30
|
|
- alias: Basement Sitting Area Pico - On
|
|
id: pico_basement_sitting_area_pico_on
|
|
triggers:
|
|
- trigger: event
|
|
event_type: lutron_caseta_button_event
|
|
event_data:
|
|
serial: 48067597
|
|
button_type: 'on'
|
|
action: press
|
|
actions:
|
|
- action: light.turn_on
|
|
entity_id: light.basement_sitting_area
|
|
data:
|
|
brightness_pct: 100
|
|
kelvin: 2700
|
|
- alias: Basement Sitting Area Pico - Off
|
|
id: pico_basement_sitting_area_pico_off
|
|
triggers:
|
|
- trigger: event
|
|
event_type: lutron_caseta_button_event
|
|
event_data:
|
|
serial: 48067597
|
|
button_type: 'off'
|
|
action: press
|
|
actions:
|
|
- action: light.turn_off
|
|
entity_id: light.basement_sitting_area
|
|
- alias: Basement Sitting Area Pico - Raise
|
|
id: pico_basement_sitting_area_pico_raise
|
|
triggers:
|
|
- trigger: event
|
|
event_type: lutron_caseta_button_event
|
|
event_data:
|
|
serial: 48067597
|
|
button_type: raise
|
|
action: press
|
|
conditions:
|
|
- condition: state
|
|
entity_id: light.basement_sitting_area
|
|
state: 'on'
|
|
actions:
|
|
- action: light.turn_on
|
|
entity_id: light.basement_sitting_area
|
|
data:
|
|
brightness_pct: 60
|
|
- alias: Basement Sitting Area Pico - Lower
|
|
id: pico_basement_sitting_area_pico_lower
|
|
triggers:
|
|
- trigger: event
|
|
event_type: lutron_caseta_button_event
|
|
event_data:
|
|
serial: 48067597
|
|
button_type: lower
|
|
action: press
|
|
conditions:
|
|
- condition: state
|
|
entity_id: light.basement_sitting_area
|
|
state: 'on'
|
|
actions:
|
|
- action: light.turn_on
|
|
entity_id: light.basement_sitting_area
|
|
data:
|
|
brightness_pct: 30
|
|
- alias: Biocube Pico On - Feed Mode Off
|
|
id: biocube_pico_pico_on_feed_mode_off
|
|
triggers:
|
|
- trigger: event
|
|
event_type: lutron_caseta_button_event
|
|
event_data:
|
|
serial: 46769819
|
|
button_type: 'on'
|
|
action: press
|
|
actions:
|
|
- action: homeassistant.turn_off
|
|
entity_id: input_boolean.biocube_feed_mode
|
|
- alias: Biocube Pico Off - Feed Mode On
|
|
id: biocube_pico_pico_off_feed_mode_on
|
|
triggers:
|
|
- trigger: event
|
|
event_type: lutron_caseta_button_event
|
|
event_data:
|
|
serial: 46769819
|
|
button_type: 'off'
|
|
action: press
|
|
actions:
|
|
- action: homeassistant.turn_on
|
|
entity_id: input_boolean.biocube_feed_mode
|
|
- alias: Media - Remote external update Family Room Media Center
|
|
triggers:
|
|
trigger: state
|
|
entity_id: remote.family_room
|
|
actions:
|
|
- action: input_select.select_option
|
|
data_template:
|
|
entity_id: input_select.remote_family_room
|
|
option: '{{ states.remote.family_room.attributes.current_activity }}
|
|
|
|
'
|
|
- alias: Media - Remote start activity from input select Family Room media center
|
|
triggers:
|
|
trigger: state
|
|
entity_id: input_select.remote_family_room
|
|
actions:
|
|
- action: script.turn_on
|
|
entity_id: script.input_select_remote_family_room
|
|
- alias: Media - Remote external update Basement Media Center
|
|
triggers:
|
|
trigger: state
|
|
entity_id: remote.basement
|
|
actions:
|
|
- action: input_select.select_option
|
|
data_template:
|
|
entity_id: input_select.remote_basement
|
|
option: '{{ states.remote.basement.attributes.current_activity }}
|
|
|
|
'
|
|
- alias: Media - Remote start activity from input select Basement media center
|
|
triggers:
|
|
trigger: state
|
|
entity_id: input_select.remote_basement
|
|
actions:
|
|
- action: script.turn_on
|
|
entity_id: script.input_select_remote_basement
|
|
- alias: Roomba - Stuck Notification
|
|
triggers:
|
|
- trigger: template
|
|
value_template: '{%if is_state_attr(''vacuum.rosie'', ''status'', ''Stuck'') %}true{%endif%}'
|
|
actions:
|
|
- action: notify.mobile_app_USER1_iphone
|
|
data:
|
|
message: Rosie is Stuck, Please Help
|
|
- action: notify.mobile_app_USER2_iphone
|
|
data:
|
|
message: Rosie is Stuck, Please Help
|
|
- alias: Roomba - Full Notification
|
|
triggers:
|
|
- trigger: template
|
|
value_template: '{%if is_state_attr(''vacuum.rosie'', ''bin_full'', true) %}true{%endif%}'
|
|
actions:
|
|
- action: notify.mobile_app_USER1_iphone
|
|
data:
|
|
message: Rosie is Full, Empty It
|
|
- action: notify.mobile_app_USER2_iphone
|
|
data:
|
|
message: Rosie is Full, Empty It
|
|
- alias: Smoke Sensor - Flash Lights when Smoke Warning
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: sensor.hallway_nest_protect_smoke_status
|
|
to: Warning
|
|
for:
|
|
hours: 0
|
|
minutes: 0
|
|
seconds: 3
|
|
- trigger: state
|
|
entity_id: sensor.kitchen_nest_protect_smoke_status
|
|
to: Warning
|
|
for:
|
|
hours: 0
|
|
minutes: 0
|
|
seconds: 3
|
|
- trigger: state
|
|
entity_id: sensor.master_bedroom_nest_protect_smoke_status
|
|
to: Warning
|
|
for:
|
|
hours: 0
|
|
minutes: 0
|
|
seconds: 3
|
|
- trigger: state
|
|
entity_id: sensor.basement_nest_protect_smoke_status
|
|
to: Warning
|
|
for:
|
|
hours: 0
|
|
minutes: 0
|
|
seconds: 3
|
|
actions:
|
|
- action: light.turn_on
|
|
entity_id: light.emergency_lights
|
|
data:
|
|
brightness_pct: 100
|
|
color_name: red
|
|
- action: light.turn_on
|
|
entity_id: light.emergency_lights
|
|
data:
|
|
flash: long
|
|
- action: notify.mobile_app_USER1_iphone
|
|
data:
|
|
message: Smoke - Warning in House!
|
|
- action: notify.mobile_app_USER2_iphone
|
|
data:
|
|
message: Smoke - Warning in House!
|
|
- alias: Smoke Sensor - Flash Lights when Smoke Emergency
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: sensor.hallway_nest_protect_smoke_status
|
|
to: Emergency
|
|
for:
|
|
hours: 0
|
|
minutes: 0
|
|
seconds: 3
|
|
- trigger: state
|
|
entity_id: sensor.kitchen_nest_protect_smoke_status
|
|
to: Emergency
|
|
for:
|
|
hours: 0
|
|
minutes: 0
|
|
seconds: 3
|
|
- trigger: state
|
|
entity_id: sensor.master_bedroom_nest_protect_smoke_status
|
|
to: Emergency
|
|
for:
|
|
hours: 0
|
|
minutes: 0
|
|
seconds: 3
|
|
- trigger: state
|
|
entity_id: sensor.basement_nest_protect_smoke_status
|
|
to: Emergency
|
|
for:
|
|
hours: 0
|
|
minutes: 0
|
|
seconds: 3
|
|
actions:
|
|
- action: light.turn_on
|
|
entity_id: light.emergency_lights
|
|
data:
|
|
brightness_pct: 100
|
|
color_name: red
|
|
- action: light.turn_on
|
|
entity_id: light.emergency_lights
|
|
data:
|
|
flash: long
|
|
- action: notify.mobile_app_USER1_iphone
|
|
data:
|
|
message: Smoke - Emergency in House!
|
|
- action: notify.mobile_app_USER2_iphone
|
|
data:
|
|
message: Smoke - Emergency in House!
|
|
- alias: Smoke Sensor - Flash Lights when CO Warning
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: sensor.hallway_nest_protect_co_status
|
|
to: Warning
|
|
for:
|
|
hours: 0
|
|
minutes: 0
|
|
seconds: 3
|
|
- trigger: state
|
|
entity_id: sensor.kitchen_nest_protect_co_status
|
|
to: Warning
|
|
for:
|
|
hours: 0
|
|
minutes: 0
|
|
seconds: 3
|
|
- trigger: state
|
|
entity_id: sensor.master_bedroom_nest_protect_co_status
|
|
to: Warning
|
|
for:
|
|
hours: 0
|
|
minutes: 0
|
|
seconds: 3
|
|
- trigger: state
|
|
entity_id: sensor.basement_nest_protect_co_status
|
|
to: Warning
|
|
for:
|
|
hours: 0
|
|
minutes: 0
|
|
seconds: 3
|
|
actions:
|
|
- action: light.turn_on
|
|
entity_id: light.emergency_lights
|
|
data:
|
|
brightness_pct: 100
|
|
color_name: orange
|
|
- action: light.turn_on
|
|
entity_id: light.emergency_lights
|
|
data:
|
|
flash: long
|
|
- action: notify.mobile_app_USER1_iphone
|
|
data:
|
|
message: CO - Warning in House!
|
|
- action: notify.mobile_app_USER2_iphone
|
|
data:
|
|
message: CO - Warning in House!
|
|
- alias: Smoke Sensor - Flash Lights when CO Emergency
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: sensor.hallway_nest_protect_co_status
|
|
to: Emergency
|
|
for:
|
|
hours: 0
|
|
minutes: 0
|
|
seconds: 3
|
|
- trigger: state
|
|
entity_id: sensor.kitchen_nest_protect_co_status
|
|
to: Emergency
|
|
for:
|
|
hours: 0
|
|
minutes: 0
|
|
seconds: 3
|
|
- trigger: state
|
|
entity_id: sensor.master_bedroom_nest_protect_co_status
|
|
to: Emergency
|
|
for:
|
|
hours: 0
|
|
minutes: 0
|
|
seconds: 3
|
|
- trigger: state
|
|
entity_id: sensor.basement_nest_protect_co_status
|
|
to: Emergency
|
|
for:
|
|
hours: 0
|
|
minutes: 0
|
|
seconds: 3
|
|
actions:
|
|
- action: light.turn_on
|
|
entity_id: light.emergency_lights
|
|
data:
|
|
brightness_pct: 100
|
|
color_name: orange
|
|
- action: light.turn_on
|
|
entity_id: light.emergency_lights
|
|
data:
|
|
flash: long
|
|
- action: notify.mobile_app_USER1_iphone
|
|
data:
|
|
message: CO - Emergency in House!
|
|
- action: notify.mobile_app_USER2_iphone
|
|
data:
|
|
message: CO - Emergency in House!
|
|
- alias: Blackhawks Goal - On
|
|
triggers:
|
|
trigger: state
|
|
entity_id: input_boolean.blackhawks_goal
|
|
from: 'off'
|
|
to: 'on'
|
|
conditions:
|
|
- condition: state
|
|
entity_id: input_boolean.blackhawks_mode
|
|
state: 'on'
|
|
actions:
|
|
- action: media_player.play_media
|
|
data:
|
|
entity_id: media_player.office
|
|
media_content_id: https://REDACTED/local/audio/blackhawks_goal.mp3
|
|
media_content_type: music
|
|
- action: light.turn_on
|
|
entity_id: light.family_room
|
|
data:
|
|
color_name: red
|
|
brightness_pct: 100
|
|
- delay: 00:00:60
|
|
- action: light.turn_on
|
|
entity_id: light.family_room
|
|
- alias: Blackhawks Goal - Off
|
|
triggers:
|
|
trigger: state
|
|
entity_id: input_boolean.blackhawks_goal
|
|
to: 'on'
|
|
for:
|
|
seconds: 50
|
|
actions:
|
|
- action: homeassistant.turn_off
|
|
entity_id: input_boolean.blackhawks_goal
|
|
- action: light.turn_on
|
|
entity_id: light.family_room
|
|
data:
|
|
color_name: white
|
|
brightness_pct: 100
|
|
- action: light.turn_on
|
|
entity_id:
|
|
- light.family_room
|
|
data:
|
|
transition: 10
|
|
brightness_pct: 100
|
|
kelvin: 2700
|
|
- alias: Blackhawks Mode - Off
|
|
triggers:
|
|
trigger: state
|
|
entity_id: input_boolean.blackhawks_mode
|
|
to: 'on'
|
|
for:
|
|
hours: 4
|
|
actions:
|
|
- action: homeassistant.turn_off
|
|
entity_id: input_boolean.blackhawks_mode
|
|
- alias: Cardinals Score - On
|
|
triggers:
|
|
trigger: state
|
|
entity_id: input_boolean.cardinals_score
|
|
from: 'off'
|
|
to: 'on'
|
|
conditions:
|
|
- condition: state
|
|
entity_id: input_boolean.cardinals_mode
|
|
state: 'on'
|
|
actions:
|
|
- action: media_player.play_media
|
|
data:
|
|
entity_id: media_player.office
|
|
media_content_id: https://REDACTED/local/audio/cardinals_score.mp3
|
|
media_content_type: music
|
|
- action: light.turn_on
|
|
entity_id: light.family_room
|
|
data:
|
|
color_name: red
|
|
brightness_pct: 100
|
|
- action: light.turn_on
|
|
entity_id: light.family_room
|
|
data:
|
|
flash: long
|
|
- delay: 00:00:10
|
|
- action: light.turn_on
|
|
entity_id: light.family_room
|
|
data:
|
|
flash: long
|
|
- delay: 00:00:10
|
|
- action: light.turn_on
|
|
entity_id: light.family_room
|
|
data:
|
|
flash: long
|
|
- alias: Cardinals Score - Off
|
|
triggers:
|
|
trigger: state
|
|
entity_id: input_boolean.cardinals_score
|
|
to: 'on'
|
|
for:
|
|
seconds: 50
|
|
actions:
|
|
- action: homeassistant.turn_off
|
|
entity_id: input_boolean.cardinals_score
|
|
- action: light.turn_on
|
|
entity_id: light.family_room
|
|
data:
|
|
color_name: white
|
|
brightness_pct: 100
|
|
- action: light.turn_on
|
|
entity_id:
|
|
- light.family_room
|
|
data:
|
|
transition: 10
|
|
brightness_pct: 100
|
|
kelvin: 2700
|
|
- alias: Cardinals Mode - Off
|
|
triggers:
|
|
trigger: state
|
|
entity_id: input_boolean.cardinals_mode
|
|
to: 'on'
|
|
for:
|
|
hours: 4
|
|
actions:
|
|
- action: homeassistant.turn_off
|
|
entity_id: input_boolean.cardinals_mode
|
|
- alias: Blackhawks Goal TEST
|
|
triggers:
|
|
trigger: state
|
|
entity_id: input_boolean.blackhawks_goal
|
|
from: 'off'
|
|
to: 'on'
|
|
actions:
|
|
- action: media_player.play_media
|
|
data:
|
|
entity_id: media_player.basement
|
|
media_content_id: https://REDACTED/local/audio/blackhawks_goal.mp3
|
|
media_content_type: music
|
|
- alias: Teslamate - Update Tesla location as MQTT location updates
|
|
id: teslamate_update_location
|
|
initial_state: true
|
|
triggers:
|
|
- trigger: mqtt
|
|
topic: teslamate/cars/1/latitude
|
|
- trigger: mqtt
|
|
topic: teslamate/cars/1/longitude
|
|
actions:
|
|
- action: device_tracker.see
|
|
data_template:
|
|
dev_id: tesla_location
|
|
gps:
|
|
- '{{ states.sensor.tesla_latitude.state }}'
|
|
- '{{ states.sensor.tesla_longitude.state }}'
|
|
- alias: Tesla Not Plugged In After 9pm
|
|
id: tesla_not_plugged_in
|
|
triggers:
|
|
- trigger: time
|
|
at: '21:00:00'
|
|
conditions:
|
|
- condition: state
|
|
entity_id: person.USER1
|
|
state: home
|
|
- condition: state
|
|
entity_id: device_tracker.tesla_location
|
|
state: home
|
|
- condition: state
|
|
entity_id: binary_sensor.tesla_plugged_in
|
|
state: 'off'
|
|
actions:
|
|
- action: notify.mobile_app_USER1_iphone
|
|
data:
|
|
message: Tesla Not Plugged In
|
|
- alias: Vacation - Lights On Sunset
|
|
triggers:
|
|
- trigger: sun
|
|
event: sunset
|
|
offset: -00:10:00
|
|
conditions:
|
|
- condition: state
|
|
entity_id: input_boolean.vacation_mode
|
|
state: 'on'
|
|
actions:
|
|
- action: light.turn_on
|
|
entity_id: light.family_room
|
|
- action: light.turn_on
|
|
entity_id: light.master_bedroom
|
|
- alias: Vacation - Lights Off 11p
|
|
triggers:
|
|
- trigger: time
|
|
at: '23:34'
|
|
conditions:
|
|
- condition: state
|
|
entity_id: input_boolean.vacation_mode
|
|
state: 'on'
|
|
actions:
|
|
- action: light.turn_off
|
|
entity_id: light.family_room
|
|
- action: light.turn_off
|
|
entity_id: light.master_bedroom
|
|
- alias: Wakeup All Activation
|
|
id: wakeup_all_activation
|
|
triggers:
|
|
trigger: state
|
|
entity_id: input_boolean.all_wakeup
|
|
to: 'on'
|
|
actions:
|
|
- action: homeassistant.turn_on
|
|
entity_id: input_boolean.USER2_wakeup
|
|
- action: homeassistant.turn_on
|
|
entity_id: input_boolean.USER3_wakeup
|
|
- action: homeassistant.turn_on
|
|
entity_id: input_boolean.USER4_wakeup
|
|
- action: homeassistant.turn_off
|
|
entity_id: input_boolean.all_wakeup
|
|
- alias: Alarm - USER2 Wakeup Light
|
|
id: wakeup_USER2_wakeup_light
|
|
triggers:
|
|
- trigger: template
|
|
value_template: '{{ states(''sensor.time'') == (states.input_datetime.USER2_wakeup_time.attributes.timestamp
|
|
| int | timestamp_custom(''%H:%M'', False)) }}'
|
|
conditions:
|
|
- condition: state
|
|
entity_id: input_boolean.USER2_wakeup
|
|
state: 'on'
|
|
actions:
|
|
- action: light.turn_on
|
|
entity_id: light.family_room
|
|
- action: light.turn_on
|
|
entity_id: light.USER2_bedroom_1
|
|
data:
|
|
color_name: red
|
|
brightness_pct: 10
|
|
transition: 60
|
|
- delay: 00:01:00
|
|
- action: light.turn_on
|
|
entity_id: light.USER2_bedroom_1
|
|
data:
|
|
color_name: orange
|
|
brightness_pct: 70
|
|
transition: 120
|
|
- delay: 00:02:00
|
|
- action: light.turn_on
|
|
entity_id: light.USER2_bedroom_1
|
|
data:
|
|
color_name: gold
|
|
brightness_pct: 80
|
|
transition: 120
|
|
- delay: 00:02:30
|
|
- action: light.turn_on
|
|
entity_id: light.USER2_bedroom_1
|
|
data:
|
|
brightness_pct: 100
|
|
kelvin: 2700
|
|
transition: 30
|
|
- delay: 00:03:00
|
|
- action: homeassistant.turn_off
|
|
entity_id: input_boolean.USER2_wakeup
|
|
- alias: Alarm - USER3 Wakeup Light
|
|
id: wakeup_USER3_wakeup_light
|
|
triggers:
|
|
- trigger: template
|
|
value_template: '{{ states(''sensor.time'') == (states.input_datetime.USER3_wakeup_time.attributes.timestamp
|
|
| int | timestamp_custom(''%H:%M'', False)) }}'
|
|
conditions:
|
|
- condition: state
|
|
entity_id: input_boolean.USER3_wakeup
|
|
state: 'on'
|
|
actions:
|
|
- action: light.turn_on
|
|
entity_id: light.USER3_bedroom_1
|
|
data:
|
|
color_name: red
|
|
brightness_pct: 10
|
|
transition: 60
|
|
- delay: 00:01:00
|
|
- action: light.turn_on
|
|
entity_id: light.USER3_bedroom_1
|
|
data:
|
|
color_name: orange
|
|
brightness_pct: 70
|
|
transition: 120
|
|
- delay: 00:02:00
|
|
- action: light.turn_on
|
|
entity_id: light.USER3_bedroom_1
|
|
data:
|
|
color_name: gold
|
|
brightness_pct: 80
|
|
transition: 120
|
|
- delay: 00:02:00
|
|
- action: light.turn_on
|
|
entity_id: light.USER3_bedroom_1
|
|
data:
|
|
brightness_pct: 100
|
|
kelvin: 2700
|
|
transition: 60
|
|
- delay: 00:03:00
|
|
- action: homeassistant.turn_off
|
|
entity_id: input_boolean.USER3_wakeup
|
|
- alias: Alarm - USER4 Wakeup Light
|
|
id: wakeup_USER4_wakeup_light
|
|
triggers:
|
|
- trigger: template
|
|
value_template: '{{ states(''sensor.time'') == (states.input_datetime.USER4_wakeup_time.attributes.timestamp
|
|
| int | timestamp_custom(''%H:%M'', False)) }}'
|
|
conditions:
|
|
- condition: state
|
|
entity_id: input_boolean.USER4_wakeup
|
|
state: 'on'
|
|
actions:
|
|
- action: light.turn_on
|
|
entity_id: light.USER4_bedroom_1
|
|
data:
|
|
color_name: red
|
|
brightness_pct: 10
|
|
transition: 60
|
|
- delay: 00:01:00
|
|
- action: light.turn_on
|
|
entity_id: light.USER4_bedroom_1
|
|
data:
|
|
color_name: orange
|
|
brightness_pct: 70
|
|
transition: 120
|
|
- delay: 00:02:00
|
|
- action: light.turn_on
|
|
entity_id: light.USER4_bedroom_1
|
|
data:
|
|
color_name: gold
|
|
brightness_pct: 80
|
|
transition: 120
|
|
- delay: 00:02:00
|
|
- action: light.turn_on
|
|
entity_id: light.USER4_bedroom_1
|
|
data:
|
|
brightness_pct: 100
|
|
kelvin: 2700
|
|
transition: 60
|
|
- delay: 00:03:00
|
|
- action: homeassistant.turn_off
|
|
entity_id: input_boolean.USER4_wakeup
|
|
- alias: Notification - Basement Water Sensor
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: binary_sensor.basement_drain_water_sensor
|
|
from: 'off'
|
|
to: 'on'
|
|
conditions:
|
|
- condition: state
|
|
entity_id: input_boolean.disable_water_sensors
|
|
state: 'off'
|
|
actions:
|
|
- action: notify.mobile_app_USER1_iphone
|
|
data:
|
|
title: Water Alert
|
|
message: Water Detected at Basement Drain!
|
|
data:
|
|
push:
|
|
sound:
|
|
name: default
|
|
critical: 1
|
|
volume: 1.0
|
|
- action: notify.mobile_app_USER2_iphone
|
|
data:
|
|
message: Water Detected at Basement Drain!
|
|
- alias: Notification - Washing Machine Water Sensor Text Notification
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: binary_sensor.washing_machine_water_sensor
|
|
from: 'off'
|
|
to: 'on'
|
|
conditions:
|
|
- condition: state
|
|
entity_id: input_boolean.disable_water_sensors
|
|
state: 'off'
|
|
actions:
|
|
- action: notify.mobile_app_USER1_iphone
|
|
data:
|
|
title: Water Alert
|
|
message: Water Detected at Washing Machine!
|
|
data:
|
|
push:
|
|
sound:
|
|
name: default
|
|
critical: 1
|
|
volume: 1.0
|
|
- action: notify.mobile_app_USER2_iphone
|
|
data:
|
|
message: Water Detected by Washing Machine!
|
|
- alias: Notification - Kitchen Sink Water Sensor Text Notification
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: binary_sensor.kitchen_sink_water_sensor
|
|
from: 'off'
|
|
to: 'on'
|
|
conditions:
|
|
- condition: state
|
|
entity_id: input_boolean.disable_water_sensors
|
|
state: 'off'
|
|
actions:
|
|
- action: notify.mobile_app_USER1_iphone
|
|
data:
|
|
title: Water Alert
|
|
message: Water Detected by Kitchen Sink!
|
|
data:
|
|
push:
|
|
sound:
|
|
name: default
|
|
critical: 1
|
|
volume: 1.0
|
|
- action: notify.mobile_app_USER2_iphone
|
|
data:
|
|
message: Water Detected by Kitchen Sink!
|
|
- alias: Notification - Refrigerator Water Sensor
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: binary_sensor.refrigerator_water_sensor
|
|
from: 'off'
|
|
to: 'on'
|
|
conditions:
|
|
- condition: state
|
|
entity_id: input_boolean.disable_water_sensors
|
|
state: 'off'
|
|
actions:
|
|
- action: notify.mobile_app_USER1_iphone
|
|
data:
|
|
title: Water Alert
|
|
message: Water Detected under Refrigerator!
|
|
data:
|
|
push:
|
|
sound:
|
|
name: default
|
|
critical: 1
|
|
volume: 1.0
|
|
- action: notify.mobile_app_USER2_iphone
|
|
data:
|
|
message: Water Detected by Refrigerator!
|
|
- alias: Water Sensor - Washing Machine Shut Off
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: binary_sensor.washing_machine_water_sensor
|
|
from: 'off'
|
|
to: 'on'
|
|
conditions:
|
|
- condition: state
|
|
entity_id: input_boolean.disable_water_sensors
|
|
state: 'off'
|
|
actions:
|
|
- action: switch.turn_off
|
|
entity_id:
|
|
- switch.washing_machine
|
|
- alias: Notification - Filtration Water Sensor
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: binary_sensor.filtration_water_sensor
|
|
from: 'off'
|
|
to: 'on'
|
|
conditions:
|
|
- condition: state
|
|
entity_id: input_boolean.disable_water_sensors
|
|
state: 'off'
|
|
actions:
|
|
- action: notify.mobile_app_USER1_iphone
|
|
data:
|
|
title: Water Alert
|
|
message: Water Detected by Water Filtration in Basement!
|
|
data:
|
|
push:
|
|
sound:
|
|
name: default
|
|
critical: 1
|
|
volume: 1.0
|
|
- alias: Notification - Red Sea Floor Water Sensor
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: binary_sensor.red_sea_floor_water_sensor
|
|
from: 'off'
|
|
to: 'on'
|
|
conditions:
|
|
- condition: state
|
|
entity_id: input_boolean.disable_water_sensors
|
|
state: 'off'
|
|
actions:
|
|
- action: notify.mobile_app_USER1_iphone
|
|
data:
|
|
title: Water Alert
|
|
message: Water Detected on floor by Red Sea Tank in Basement!
|
|
data:
|
|
push:
|
|
sound:
|
|
name: default
|
|
critical: 1
|
|
volume: 1.0
|
|
- alias: Notification - Red Sea Sump Water Sensor
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: binary_sensor.red_sea_sump_water_sensor
|
|
from: 'off'
|
|
to: 'on'
|
|
conditions:
|
|
- condition: state
|
|
entity_id: input_boolean.disable_water_sensors
|
|
state: 'off'
|
|
actions:
|
|
- action: notify.mobile_app_USER1_iphone
|
|
data:
|
|
title: Water Alert
|
|
message: Water Detected in sump of Red Sea Tank in Basement!
|
|
data:
|
|
push:
|
|
sound:
|
|
name: default
|
|
critical: 1
|
|
volume: 1.0
|
|
- alias: Water Sensor - Flash Lights when Water Detected
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: binary_sensor.basement_drain_water_sensor
|
|
from: 'off'
|
|
to: 'on'
|
|
- trigger: state
|
|
entity_id: binary_sensor.washing_machine_water_sensor
|
|
from: 'off'
|
|
to: 'on'
|
|
- trigger: state
|
|
entity_id: binary_sensor.kitchen_sink_water_sensor
|
|
from: 'off'
|
|
to: 'on'
|
|
- trigger: state
|
|
entity_id: binary_sensor.refridgerator_water_sensor
|
|
from: 'off'
|
|
to: 'on'
|
|
conditions:
|
|
- condition: state
|
|
entity_id: group.household
|
|
state: home
|
|
- condition: state
|
|
entity_id: input_boolean.disable_water_sensors
|
|
state: 'off'
|
|
actions:
|
|
- action: light.turn_on
|
|
entity_id: light.water_lights
|
|
data:
|
|
brightness_pct: 100
|
|
color_name: blue
|
|
- action: light.turn_on
|
|
entity_id: light.water_lights
|
|
data:
|
|
flash: long
|
|
- delay: 00:00:10
|
|
- action: light.turn_on
|
|
entity_id: light.water_lights
|
|
data:
|
|
flash: long
|
|
- delay: 00:00:10
|
|
- action: light.turn_on
|
|
entity_id: light.water_lights
|
|
data:
|
|
brightness_pct: 100
|
|
kelvin: 2700
|
|
- alias: Repeat Test Water Sensor - Flash Lights when Water Detected
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: binary_sensor.pantry_door
|
|
from: 'off'
|
|
to: 'on'
|
|
conditions:
|
|
- condition: state
|
|
entity_id: group.household
|
|
state: home
|
|
- condition: state
|
|
entity_id: input_boolean.disable_water_sensors
|
|
state: 'off'
|
|
mode: single
|
|
actions:
|
|
- alias: repeat flash until water not detected
|
|
repeat:
|
|
sequence:
|
|
- action: light.turn_on
|
|
entity_id: light.family_room_1
|
|
data:
|
|
brightness_pct: 100
|
|
color_name: blue
|
|
- action: light.turn_on
|
|
entity_id: light.family_room_1
|
|
data:
|
|
flash: long
|
|
- delay: 00:00:10
|
|
until:
|
|
- condition: state
|
|
entity_id: binary_sensor.pantry_door
|
|
state: 'off'
|
|
- alias: Lift Station Activations Counter
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: sensor.lift_station_status
|
|
to: running
|
|
action:
|
|
- action: counter.increment
|
|
entity_id: counter.lift_station_activations_counter
|
|
- action: counter.increment
|
|
entity_id: counter.lift_station_activations_counter_current_day
|
|
- action: notify.mobile_app_USER1_iphone
|
|
data:
|
|
message: Lift Station Running - {{states.counter.lift_station_activations_counter_current_day.state}}
|
|
- alias: Lift Station Activations Counter - Daily
|
|
triggers:
|
|
- trigger: time
|
|
at: '23:59:00'
|
|
actions:
|
|
- action: counter.set_value
|
|
data_template:
|
|
entity_id: counter.lift_station_activations_counter_last_day
|
|
value: '{{ states.counter.lift_station_activations_counter_current_day.state
|
|
| int }}'
|
|
- action: counter.reset
|
|
entity_id: counter.lift_station_activations_counter_current_day
|
|
- alias: Lift Station Check System
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: sensor.lift_station_status
|
|
to: check system
|
|
for:
|
|
hours: 0
|
|
minutes: 3
|
|
seconds: 0
|
|
action:
|
|
- action: notify.mobile_app_USER1_iphone
|
|
data:
|
|
message: Lift Station Error - Check Status - {{states.sensor.esp_energy_ct1_lift_station_watts.state}}
|
|
- alias: Weather - Winter Weather Warning
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: sensor.nws_winter_storm_warning
|
|
from: '0'
|
|
to: '1'
|
|
actions:
|
|
- action: notify.mobile_app_USER1_iphone
|
|
data:
|
|
message: NWS -- {{ states.sensor.nws_warnings.attributes.winter_storm_warning_headline
|
|
}}
|
|
- alias: Weather - Tornado Warning
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: sensor.nws_tornado_warning
|
|
from: '0'
|
|
to: '1'
|
|
actions:
|
|
- action: notify.mobile_app_USER1_iphone
|
|
data:
|
|
title: Tornado Warning
|
|
message: NWS -- {{ states.sensor.nws_warnings.attributes.tornado_warning_headline
|
|
}}
|
|
data:
|
|
push:
|
|
sound:
|
|
name: default
|
|
critical: 1
|
|
volume: 1.0
|
|
- action: notify.mobile_app_USER2_iphone
|
|
data:
|
|
title: Tornado Warning
|
|
message: NWS -- {{ states.sensor.nws_warnings.attributes.tornado_warning_headline
|
|
}}
|
|
data:
|
|
push:
|
|
sound:
|
|
name: default
|
|
critical: 1
|
|
volume: 1.0
|
|
- alias: Weather - Tornado Watch
|
|
triggers:
|
|
- trigger: state
|
|
entity_id: sensor.nws_tornado_watch
|
|
from: '0'
|
|
to: '1'
|
|
actions:
|
|
- action: notify.mobile_app_USER1_iphone
|
|
data:
|
|
message: NWS -- {{ states.sensor.nws_warnings.attributes.tornado_watch_headline
|
|
}}
|