Test Push
This commit is contained in:
+244
-231
@@ -1,78 +1,79 @@
|
|||||||
- id: '1780072464609'
|
- id: "1780072464609"
|
||||||
alias: 'Camera: Send Motion Notifications'
|
alias: "Camera: Send Motion Notifications"
|
||||||
description: Sends a push notification to your primary mobile device when Nest cameras
|
description:
|
||||||
|
Sends a push notification to your primary mobile device when Nest cameras
|
||||||
detect activity.
|
detect activity.
|
||||||
triggers:
|
triggers:
|
||||||
- entity_id:
|
- entity_id:
|
||||||
- camera.entryway_camera
|
- camera.entryway_camera
|
||||||
- camera.front_door
|
- camera.front_door
|
||||||
- camera.hallway_camera
|
- camera.hallway_camera
|
||||||
- camera.living_room_camera
|
- camera.living_room_camera
|
||||||
trigger: state
|
trigger: state
|
||||||
conditions: []
|
conditions: []
|
||||||
actions:
|
actions:
|
||||||
- action: notify.notify
|
- action: notify.notify
|
||||||
data:
|
data:
|
||||||
title: Motion Detected!
|
title: Motion Detected!
|
||||||
message: Activity detected on one of your Nest security cameras.
|
message: Activity detected on one of your Nest security cameras.
|
||||||
mode: parallel
|
mode: parallel
|
||||||
max: 10
|
max: 10
|
||||||
- id: '1780125759253'
|
- id: "1780125759253"
|
||||||
alias: 'Tablet: Dim Screen at Night'
|
alias: "Tablet: Dim Screen at Night"
|
||||||
description: Drops tablet brightness to zero at night
|
description: Drops tablet brightness to zero at night
|
||||||
triggers:
|
triggers:
|
||||||
- at: 01:00:00
|
- at: 01:00:00
|
||||||
trigger: time
|
trigger: time
|
||||||
actions:
|
actions:
|
||||||
- action: notify.mobile_app_sm_t387w
|
- action: notify.mobile_app_sm_t387w
|
||||||
data:
|
|
||||||
message: command_screen_brightness_level
|
|
||||||
data:
|
data:
|
||||||
command: 0
|
message: command_screen_brightness_level
|
||||||
- id: '1780125803824'
|
data:
|
||||||
alias: 'Tablet: Restore Screen in Morning'
|
command: 0
|
||||||
|
- id: "1780125803824"
|
||||||
|
alias: "Tablet: Restore Screen in Morning"
|
||||||
description: Restores tablet brightness to normal in the morning
|
description: Restores tablet brightness to normal in the morning
|
||||||
triggers:
|
triggers:
|
||||||
- at: 07:00:00
|
- at: 07:00:00
|
||||||
trigger: time
|
trigger: time
|
||||||
actions:
|
actions:
|
||||||
- action: notify.mobile_app_sm_t387w
|
- action: notify.mobile_app_sm_t387w
|
||||||
data:
|
|
||||||
message: command_screen_brightness_level
|
|
||||||
data:
|
data:
|
||||||
command: 180
|
message: command_screen_brightness_level
|
||||||
- id: '1780343863793'
|
data:
|
||||||
|
command: 180
|
||||||
|
- id: "1780343863793"
|
||||||
alias: Front Door Notification
|
alias: Front Door Notification
|
||||||
description: ''
|
description: ""
|
||||||
triggers:
|
triggers:
|
||||||
- trigger: state
|
- trigger: state
|
||||||
entity_id:
|
entity_id:
|
||||||
- binary_sensor.front_door
|
- binary_sensor.front_door
|
||||||
from:
|
from:
|
||||||
- 'off'
|
- "off"
|
||||||
to:
|
to:
|
||||||
- 'on'
|
- "on"
|
||||||
- trigger: state
|
- trigger: state
|
||||||
entity_id:
|
entity_id:
|
||||||
- binary_sensor.patio_door
|
- binary_sensor.patio_door
|
||||||
from:
|
from:
|
||||||
- 'off'
|
- "off"
|
||||||
to:
|
to:
|
||||||
- 'on'
|
- "on"
|
||||||
conditions: []
|
conditions: []
|
||||||
actions:
|
actions:
|
||||||
- target:
|
- target:
|
||||||
entity_id:
|
entity_id:
|
||||||
- light.kitchen_home_kitchen
|
- light.kitchen_home_kitchen
|
||||||
action: light.toggle
|
action: light.toggle
|
||||||
- delay: 00:00:15
|
- delay: 00:00:15
|
||||||
- target:
|
- target:
|
||||||
entity_id:
|
entity_id:
|
||||||
- light.kitchen_home_kitchen
|
- light.kitchen_home_kitchen
|
||||||
action: light.toggle
|
action: light.toggle
|
||||||
- data:
|
- data:
|
||||||
message: There is someone at the front door
|
message: There is someone at the front door
|
||||||
action: notify.notify
|
action: notify.notify
|
||||||
mode: single
|
mode: single
|
||||||
variables:
|
variables:
|
||||||
_cafe_metadata:
|
_cafe_metadata:
|
||||||
@@ -99,42 +100,43 @@
|
|||||||
y: -555
|
y: -555
|
||||||
graph_id: 7ad98446-4ce0-4b88-a400-430ac474a617
|
graph_id: 7ad98446-4ce0-4b88-a400-430ac474a617
|
||||||
graph_version: 1
|
graph_version: 1
|
||||||
- id: '1780441470361'
|
- id: "1780441470361"
|
||||||
alias: Reload Hilo Integrations on Reboot
|
alias: Reload Hilo Integrations on Reboot
|
||||||
description: Reloads problematic integrations 2 minutes after Home Assistant starts
|
description:
|
||||||
|
Reloads problematic integrations 2 minutes after Home Assistant starts
|
||||||
up.
|
up.
|
||||||
triggers:
|
triggers:
|
||||||
- trigger: homeassistant
|
- trigger: homeassistant
|
||||||
event: start
|
event: start
|
||||||
conditions: []
|
conditions: []
|
||||||
actions:
|
actions:
|
||||||
- delay:
|
- delay:
|
||||||
hours: 0
|
hours: 0
|
||||||
minutes: 3
|
minutes: 3
|
||||||
seconds: 0
|
seconds: 0
|
||||||
milliseconds: 0
|
milliseconds: 0
|
||||||
- action: homeassistant.reload_config_entry
|
- action: homeassistant.reload_config_entry
|
||||||
metadata: {}
|
metadata: {}
|
||||||
target:
|
target:
|
||||||
device_id:
|
device_id:
|
||||||
- 3e67afd88a4b4d17552c8f370aaf40b5
|
- 3e67afd88a4b4d17552c8f370aaf40b5
|
||||||
- baad176ac2f415f3642e2d075bb6a977
|
- baad176ac2f415f3642e2d075bb6a977
|
||||||
data: {}
|
data: {}
|
||||||
mode: single
|
mode: single
|
||||||
- id: '1780509027967'
|
- id: "1780509027967"
|
||||||
alias: Notify When Ring Console Battery Low
|
alias: Notify When Ring Console Battery Low
|
||||||
description: ''
|
description: ""
|
||||||
triggers:
|
triggers:
|
||||||
- trigger: numeric_state
|
- trigger: numeric_state
|
||||||
entity_id:
|
entity_id:
|
||||||
- sensor.entryway_keypad_battery
|
- sensor.entryway_keypad_battery
|
||||||
below: 25
|
below: 25
|
||||||
conditions: []
|
conditions: []
|
||||||
actions:
|
actions:
|
||||||
- data:
|
- data:
|
||||||
message: Keypad Battery Low. Please Charge ASAP
|
message: Keypad Battery Low. Please Charge ASAP
|
||||||
title: Ring Console Battery
|
title: Ring Console Battery
|
||||||
action: notify.notify
|
action: notify.notify
|
||||||
mode: single
|
mode: single
|
||||||
variables:
|
variables:
|
||||||
_cafe_metadata:
|
_cafe_metadata:
|
||||||
@@ -149,20 +151,20 @@
|
|||||||
y: 45
|
y: 45
|
||||||
graph_id: 816af3b7-3eac-47c3-8da3-8797d1774c0c
|
graph_id: 816af3b7-3eac-47c3-8da3-8797d1774c0c
|
||||||
graph_version: 1
|
graph_version: 1
|
||||||
- id: '1780516946807'
|
- id: "1780516946807"
|
||||||
alias: Notify When Front Door Sensor Battery Low
|
alias: Notify When Front Door Sensor Battery Low
|
||||||
description: ''
|
description: ""
|
||||||
triggers:
|
triggers:
|
||||||
- trigger: numeric_state
|
- trigger: numeric_state
|
||||||
entity_id:
|
entity_id:
|
||||||
- sensor.front_door_battery
|
- sensor.front_door_battery
|
||||||
below: 25
|
below: 25
|
||||||
conditions: []
|
conditions: []
|
||||||
actions:
|
actions:
|
||||||
- data:
|
- data:
|
||||||
message: Front Door Sensor Battery Low. Please Change Batteries ASAP.
|
message: Front Door Sensor Battery Low. Please Change Batteries ASAP.
|
||||||
title: Ring Console Battery
|
title: Ring Console Battery
|
||||||
action: notify.notify
|
action: notify.notify
|
||||||
mode: single
|
mode: single
|
||||||
variables:
|
variables:
|
||||||
_cafe_metadata:
|
_cafe_metadata:
|
||||||
@@ -177,51 +179,54 @@
|
|||||||
y: 45
|
y: 45
|
||||||
graph_id: 816af3b7-3eac-47c3-8da3-8797d1774c0c
|
graph_id: 816af3b7-3eac-47c3-8da3-8797d1774c0c
|
||||||
graph_version: 1
|
graph_version: 1
|
||||||
- id: '1780813227139'
|
- id: "1780813227139"
|
||||||
alias: 'Alert: Fridge or Freezer Power Outage'
|
alias: "Alert: Fridge or Freezer Power Outage"
|
||||||
description: Triggers an alert if the fridge or freezer smart plug power consumption
|
description:
|
||||||
|
Triggers an alert if the fridge or freezer smart plug power consumption
|
||||||
drops to 0W for too long.
|
drops to 0W for too long.
|
||||||
triggers:
|
triggers:
|
||||||
- trigger: numeric_state
|
- trigger: numeric_state
|
||||||
entity_id:
|
entity_id:
|
||||||
- sensor.freezer_power
|
- sensor.freezer_power
|
||||||
for:
|
for:
|
||||||
hours: 0
|
hours: 0
|
||||||
minutes: 45
|
minutes: 45
|
||||||
seconds: 0
|
seconds: 0
|
||||||
below: 1
|
below: 1
|
||||||
id: freezer_down
|
id: freezer_down
|
||||||
- trigger: numeric_state
|
- trigger: numeric_state
|
||||||
entity_id:
|
entity_id:
|
||||||
- sensor.fridge_power
|
- sensor.fridge_power
|
||||||
for:
|
for:
|
||||||
hours: 0
|
hours: 0
|
||||||
minutes: 20
|
minutes: 20
|
||||||
seconds: 0
|
seconds: 0
|
||||||
below: 1
|
below: 1
|
||||||
id: fridge_down
|
id: fridge_down
|
||||||
conditions: []
|
conditions: []
|
||||||
actions:
|
actions:
|
||||||
- if:
|
|
||||||
- condition: trigger
|
|
||||||
id: freezer_down
|
|
||||||
then:
|
|
||||||
- data:
|
|
||||||
title: "\U0001F6A8 URGENT: Freezer Power Failure"
|
|
||||||
message: The Freezer smart plug has drawn 0W of power for over 40 minutes!
|
|
||||||
Check the physical appliance immediately.
|
|
||||||
action: notify.notify
|
|
||||||
else:
|
|
||||||
- if:
|
- if:
|
||||||
- condition: trigger
|
- condition: trigger
|
||||||
id: fridge_down
|
id: freezer_down
|
||||||
then:
|
then:
|
||||||
- data:
|
- data:
|
||||||
title: "\U0001F6A8 URGENT: Fridge Power Failure"
|
title: "\U0001F6A8 URGENT: Freezer Power Failure"
|
||||||
message: The Fridge smart plug has drawn 0W of power for over 20 minutes!
|
message:
|
||||||
Check the physical appliance immediately.
|
The Freezer smart plug has drawn 0W of power for over 40 minutes!
|
||||||
action: notify.notify
|
Check the physical appliance immediately.
|
||||||
else: []
|
action: notify.notify
|
||||||
|
else:
|
||||||
|
- if:
|
||||||
|
- condition: trigger
|
||||||
|
id: fridge_down
|
||||||
|
then:
|
||||||
|
- data:
|
||||||
|
title: "\U0001F6A8 URGENT: Fridge Power Failure"
|
||||||
|
message:
|
||||||
|
The Fridge smart plug has drawn 0W of power for over 20 minutes!
|
||||||
|
Check the physical appliance immediately.
|
||||||
|
action: notify.notify
|
||||||
|
else: []
|
||||||
mode: single
|
mode: single
|
||||||
variables:
|
variables:
|
||||||
_cafe_metadata:
|
_cafe_metadata:
|
||||||
@@ -248,126 +253,134 @@
|
|||||||
y: 102
|
y: 102
|
||||||
graph_id: 5948b900-b45d-4c2e-ae73-c880acc3a1bf
|
graph_id: 5948b900-b45d-4c2e-ae73-c880acc3a1bf
|
||||||
graph_version: 1
|
graph_version: 1
|
||||||
- id: '1780989340205'
|
- id: "1780989340205"
|
||||||
alias: 'Kitchen: Coffee Maker Active Notification'
|
alias: "Kitchen: Coffee Maker Active Notification"
|
||||||
description: Sends a mobile application push notification when the coffee maker
|
description:
|
||||||
|
Sends a mobile application push notification when the coffee maker
|
||||||
power exceeds 1000W for 5 seconds.
|
power exceeds 1000W for 5 seconds.
|
||||||
triggers:
|
triggers:
|
||||||
- entity_id: sensor.coffee_maker_power
|
- entity_id: sensor.coffee_maker_power
|
||||||
above: 1000
|
above: 1000
|
||||||
for:
|
for:
|
||||||
hours: 0
|
hours: 0
|
||||||
minutes: 0
|
minutes: 0
|
||||||
seconds: 5
|
seconds: 5
|
||||||
trigger: numeric_state
|
trigger: numeric_state
|
||||||
conditions: []
|
conditions: []
|
||||||
actions:
|
actions:
|
||||||
- data:
|
- data:
|
||||||
title: ☕ Coffee Time
|
title: ☕ Coffee Time
|
||||||
message: Someone is Making Coffee
|
message: Someone is Making Coffee
|
||||||
action: notify.notify
|
action: notify.notify
|
||||||
- action: notify.persistent_notification
|
- action: notify.persistent_notification
|
||||||
metadata: {}
|
metadata: {}
|
||||||
data:
|
data:
|
||||||
title: ☕ Coffee Time
|
title: ☕ Coffee Time
|
||||||
message: Someone is Making Coffee
|
message: Someone is Making Coffee
|
||||||
- delay:
|
- delay:
|
||||||
hours: 0
|
hours: 0
|
||||||
minutes: 4
|
minutes: 4
|
||||||
seconds: 0
|
seconds: 0
|
||||||
milliseconds: 0
|
milliseconds: 0
|
||||||
mode: single
|
mode: single
|
||||||
- id: '1781024962776'
|
- id: "1781024962776"
|
||||||
alias: 'Office: Turn On Lights on Motion then Door Open'
|
alias: "Office: Turn On Lights on Motion then Door Open"
|
||||||
description: Triggers when office door opens, but only if living room motion happened
|
description:
|
||||||
|
Triggers when office door opens, but only if living room motion happened
|
||||||
in the last 30 seconds and light is off.
|
in the last 30 seconds and light is off.
|
||||||
triggers:
|
triggers:
|
||||||
- trigger: state
|
- trigger: state
|
||||||
entity_id: binary_sensor.office_door_contact
|
entity_id: binary_sensor.office_door_contact
|
||||||
to: 'on'
|
to: "on"
|
||||||
conditions:
|
conditions:
|
||||||
- condition: time
|
- condition: time
|
||||||
after: '10:00:00'
|
after: "10:00:00"
|
||||||
before: '21:00:00'
|
before: "21:00:00"
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: light.playroom_light
|
|
||||||
state: 'off'
|
|
||||||
- condition: template
|
|
||||||
value_template: '{{ (now() - states.binary_sensor.basement.last_changed).total_seconds()
|
|
||||||
< 30 }}'
|
|
||||||
actions:
|
|
||||||
- action: light.turn_on
|
|
||||||
target:
|
|
||||||
entity_id: light.playroom_light
|
entity_id: light.playroom_light
|
||||||
data: {}
|
state: "off"
|
||||||
|
- condition: template
|
||||||
|
value_template:
|
||||||
|
"{{ (now() - states.binary_sensor.basement.last_changed).total_seconds()
|
||||||
|
< 30 }}"
|
||||||
|
actions:
|
||||||
|
- action: light.turn_on
|
||||||
|
target:
|
||||||
|
entity_id: light.playroom_light
|
||||||
|
data: {}
|
||||||
mode: single
|
mode: single
|
||||||
- id: '1781034724187'
|
- id: "1781034724187"
|
||||||
alias: 'Office: Turn Off Lights on Exit'
|
alias: "Office: Turn Off Lights on Exit"
|
||||||
description: Turns off office lights 2 minutes after the door closes, but only if living
|
description:
|
||||||
|
Turns off office lights 2 minutes after the door closes, but only if living
|
||||||
room motion was detected after the door shut.
|
room motion was detected after the door shut.
|
||||||
triggers:
|
triggers:
|
||||||
- trigger: state
|
- trigger: state
|
||||||
entity_id: binary_sensor.office_door_contact
|
entity_id: binary_sensor.office_door_contact
|
||||||
to: 'off'
|
to: "off"
|
||||||
for:
|
for:
|
||||||
minutes: 2
|
minutes: 2
|
||||||
conditions:
|
conditions:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: light.playroom_light
|
|
||||||
state: 'on'
|
|
||||||
- condition: template
|
|
||||||
value_template: '{{ states.binary_sensor.basement.last_changed > states.binary_sensor.office_door_contact.last_changed
|
|
||||||
}}'
|
|
||||||
actions:
|
|
||||||
- action: light.turn_off
|
|
||||||
target:
|
|
||||||
entity_id: light.playroom_light
|
entity_id: light.playroom_light
|
||||||
data: {}
|
state: "on"
|
||||||
|
- condition: template
|
||||||
|
value_template:
|
||||||
|
"{{ states.binary_sensor.basement.last_changed > states.binary_sensor.office_door_contact.last_changed
|
||||||
|
}}"
|
||||||
|
actions:
|
||||||
|
- action: light.turn_off
|
||||||
|
target:
|
||||||
|
entity_id: light.playroom_light
|
||||||
|
data: {}
|
||||||
mode: single
|
mode: single
|
||||||
- id: '1781102033733'
|
- id: "1781102033733"
|
||||||
alias: Water Leak Detected
|
alias: Water Leak Detected
|
||||||
description: ''
|
description: ""
|
||||||
triggers:
|
triggers:
|
||||||
- type: moist
|
- type: moist
|
||||||
device_id: 59bc102f385d7a3524c8f21a5c53592b
|
device_id: 59bc102f385d7a3524c8f21a5c53592b
|
||||||
entity_id: c268ff8842e905515de2274d09c5ab9e
|
entity_id: c268ff8842e905515de2274d09c5ab9e
|
||||||
domain: binary_sensor
|
domain: binary_sensor
|
||||||
metadata:
|
metadata:
|
||||||
secondary: false
|
secondary: false
|
||||||
trigger: device
|
trigger: device
|
||||||
conditions: []
|
conditions: []
|
||||||
actions:
|
actions:
|
||||||
- action: notify.notify
|
- action: notify.notify
|
||||||
metadata: {}
|
metadata: {}
|
||||||
data:
|
data:
|
||||||
title: "\U0001F6A8 URGENT: Water Leak Detected"
|
title: "\U0001F6A8 URGENT: Water Leak Detected"
|
||||||
message: Water Leak Detected in Basement. Check Water Heater for Leaks.
|
message: Water Leak Detected in Basement. Check Water Heater for Leaks.
|
||||||
- action: persistent_notification.create
|
- action: persistent_notification.create
|
||||||
metadata: {}
|
metadata: {}
|
||||||
data:
|
data:
|
||||||
title: "\U0001F6A8 URGENT: Water Leak Detected"
|
title: "\U0001F6A8 URGENT: Water Leak Detected"
|
||||||
message: Water Leak Detected in Basement. Check Water Heater for Leaks.
|
message: Water Leak Detected in Basement. Check Water Heater for Leaks.
|
||||||
mode: single
|
mode: single
|
||||||
- id: '1781112110968'
|
- id: "1781112110968"
|
||||||
alias: 'Freezer Safety: Alert if Plug Turns Off'
|
alias: "Freezer Safety: Alert if Plug Turns Off"
|
||||||
description: Triggers an immediate notification if the freezer smart plug is turned
|
description:
|
||||||
|
Triggers an immediate notification if the freezer smart plug is turned
|
||||||
off.
|
off.
|
||||||
triggers:
|
triggers:
|
||||||
- trigger: state
|
- trigger: state
|
||||||
entity_id: switch.freezer
|
entity_id: switch.freezer
|
||||||
to: 'off'
|
to: "off"
|
||||||
for:
|
for:
|
||||||
minutes: 1
|
minutes: 1
|
||||||
actions:
|
actions:
|
||||||
- action: notify.notify
|
- action: notify.notify
|
||||||
data:
|
data:
|
||||||
title: "\U0001F6A8 FREEZER PLUG TRIPPED!"
|
title: "\U0001F6A8 FREEZER PLUG TRIPPED!"
|
||||||
message: The freezer smart plug turned off. Check it immediately to prevent
|
message:
|
||||||
food spoilage.
|
The freezer smart plug turned off. Check it immediately to prevent
|
||||||
- action: notify.persistent_notification
|
food spoilage.
|
||||||
metadata: {}
|
- action: notify.persistent_notification
|
||||||
data:
|
metadata: {}
|
||||||
title: "\U0001F6A8 FREEZER PLUG TRIPPED!"
|
data:
|
||||||
message: The freezer smart plug turned off. Check it immediately to prevent
|
title: "\U0001F6A8 FREEZER PLUG TRIPPED!"
|
||||||
food spoilage.
|
message:
|
||||||
|
The freezer smart plug turned off. Check it immediately to prevent
|
||||||
|
food spoilage.
|
||||||
mode: single
|
mode: single
|
||||||
|
|||||||
Reference in New Issue
Block a user