Fix notifications
This commit is contained in:
parent
afd81625de
commit
d20c867724
@ -38,7 +38,7 @@
|
||||
entity_id: sensor.octoprint_job_percentage
|
||||
to: '100.0'
|
||||
action:
|
||||
- service: notify.mobile_app_iphone_pg
|
||||
- service: notify.mobile_app_iphone
|
||||
data:
|
||||
message: 3D printer has finished
|
||||
|
||||
|
@ -12,7 +12,7 @@
|
||||
entity_id: alarm_control_panel.home_alarm
|
||||
state: disarmed
|
||||
action:
|
||||
- service: notify.mobile_app_iphone_pg
|
||||
- service: notify.mobile_app_iphone
|
||||
data:
|
||||
title: "Door unlocked!"
|
||||
message: Front door was unlocked, trying to lock it back
|
||||
@ -35,7 +35,7 @@
|
||||
- service: lock.lock
|
||||
target:
|
||||
entity_id: lock.front_door_25f246fe_door_lock
|
||||
- service: notify.mobile_app_iphone_pg
|
||||
- service: notify.mobile_app_iphone
|
||||
data:
|
||||
title: "Door locked back"
|
||||
message: Front door was successfully locked
|
||||
|
@ -17,7 +17,7 @@
|
||||
entity_id: alarm_control_panel.home_alarm
|
||||
state: disarmed
|
||||
action:
|
||||
- service: notify.mobile_app_iphone_pg
|
||||
- service: notify.mobile_app_iphone
|
||||
data:
|
||||
title: "Someone is near home"
|
||||
message: >
|
||||
|
@ -10,7 +10,7 @@
|
||||
from: 'off'
|
||||
to: 'on'
|
||||
action:
|
||||
- service: notify.mobile_app_iphone_pg
|
||||
- service: notify.mobile_app_iphone
|
||||
data:
|
||||
message: Motion Detected in Kitchen!
|
||||
data:
|
||||
@ -35,7 +35,7 @@
|
||||
from: 'off'
|
||||
to: 'on'
|
||||
action:
|
||||
- service: notify.mobile_app_iphone_pg
|
||||
- service: notify.mobile_app_iphone
|
||||
data:
|
||||
message: Motion Detected in Hallway!
|
||||
data:
|
||||
|
@ -7,7 +7,7 @@
|
||||
from: 'off'
|
||||
to: 'on'
|
||||
action:
|
||||
- service: notify.mobile_app_iphone_pg
|
||||
- service: notify.mobile_app_iphone
|
||||
data:
|
||||
message: Doorbell
|
||||
data:
|
||||
|
@ -11,7 +11,7 @@
|
||||
minutes: 30
|
||||
seconds: 0
|
||||
action:
|
||||
- service: notify.mobile_app_iphone_pg
|
||||
- service: notify.mobile_app_iphone
|
||||
data:
|
||||
message: Front Door left unlock for 30 minutes, would you like to close it?
|
||||
data:
|
||||
@ -35,7 +35,7 @@
|
||||
entity_id: binary_sensor.hallway_motion_sensor
|
||||
state: 'off'
|
||||
action:
|
||||
- service: notify.mobile_app_iphone_pg
|
||||
- service: notify.mobile_app_iphone
|
||||
data:
|
||||
message: Someone knock
|
||||
data:
|
||||
|
@ -177,7 +177,7 @@
|
||||
below: '10'
|
||||
entity_id: sensor.weather_sensor_power
|
||||
action:
|
||||
- service: notify.mobile_app_iphone_pg
|
||||
- service: notify.mobile_app_iphone
|
||||
data:
|
||||
title: "Low battery"
|
||||
message: >
|
||||
|
@ -12,7 +12,7 @@
|
||||
entity_id: binary_sensor.washing_machine_water_leak_sensor
|
||||
to: 'on'
|
||||
action:
|
||||
- service: notify.mobile_app_iphone_pg
|
||||
- service: notify.mobile_app_iphone
|
||||
data:
|
||||
title: "Leak detection"
|
||||
message: >
|
||||
|
@ -67,7 +67,7 @@
|
||||
entity_id: sensor.ble_moisture_thuja_plant_3
|
||||
below: '5'
|
||||
action:
|
||||
- service: notify.mobile_app_iphone_pg
|
||||
- service: notify.mobile_app_iphone
|
||||
data:
|
||||
title: Water plants
|
||||
message: >
|
||||
|
@ -6,7 +6,7 @@
|
||||
entity_id: sensor.router_eth0_link_speed
|
||||
to: '100'
|
||||
action:
|
||||
- service: notify.mobile_app_iphone_pg
|
||||
- service: notify.mobile_app_iphone
|
||||
data:
|
||||
message: Internet link fell down to 100 Mbit
|
||||
|
||||
@ -18,6 +18,6 @@
|
||||
entity_id: sensor.router_eth4_link_speed
|
||||
to: '100'
|
||||
action:
|
||||
- service: notify.mobile_app_iphone_pg
|
||||
- service: notify.mobile_app_iphone
|
||||
data:
|
||||
message: Wifi link speed fell down to 100 Mbit
|
||||
|
@ -450,7 +450,7 @@
|
||||
type: device_offline
|
||||
subtype: device_offline
|
||||
action:
|
||||
- service: notify.mobile_app_iphone_pg
|
||||
- service: notify.mobile_app_iphone
|
||||
data:
|
||||
title: "Device unavailable"
|
||||
message: >
|
||||
|
@ -5,7 +5,7 @@
|
||||
entity_id: person.przemek
|
||||
to: home
|
||||
action:
|
||||
- service: notify.mobile_app_iphone_pg
|
||||
- service: notify.mobile_app_iphone
|
||||
data:
|
||||
message: Arrive home
|
||||
data:
|
||||
@ -22,7 +22,7 @@
|
||||
entity_id: person.przemek
|
||||
from: home
|
||||
action:
|
||||
- service: notify.mobile_app_iphone_pg
|
||||
- service: notify.mobile_app_iphone
|
||||
data:
|
||||
message: You left home
|
||||
data:
|
||||
|
@ -6,7 +6,7 @@
|
||||
entity_id: sensor.przemyslaws_apple_watch_room_presence
|
||||
to: ra-bathroom
|
||||
action:
|
||||
- service: notify.mobile_app_iphone_pg
|
||||
- service: notify.mobile_app_iphone
|
||||
data:
|
||||
message: Apple Watch enter bathroom
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
entity_id: sensor.przemyslaws_apple_watch_room_presence
|
||||
from: ra-bathroom
|
||||
action:
|
||||
- service: notify.mobile_app_iphone_pg
|
||||
- service: notify.mobile_app_iphone
|
||||
data:
|
||||
message: Apple Watch left bathroom
|
||||
- choose:
|
||||
@ -39,7 +39,7 @@
|
||||
entity_id: sensor.przemyslaws_apple_watch_room_presence
|
||||
to: ra-bedroom
|
||||
action:
|
||||
- service: notify.mobile_app_iphone_pg
|
||||
- service: notify.mobile_app_iphone
|
||||
data:
|
||||
message: Apple Watch enter bathroom
|
||||
|
||||
@ -51,7 +51,7 @@
|
||||
entity_id: sensor.przemyslaws_apple_watch_room_presence
|
||||
from: ra-bedroom
|
||||
action:
|
||||
- service: notify.mobile_app_iphone_pg
|
||||
- service: notify.mobile_app_iphone
|
||||
data:
|
||||
message: Apple Watch left bedroom
|
||||
- choose:
|
||||
@ -72,6 +72,6 @@
|
||||
entity_id: sensor.przemyslaws_apple_watch_room_presence
|
||||
to: not_home
|
||||
action:
|
||||
- service: notify.mobile_app_iphone_pg
|
||||
- service: notify.mobile_app_iphone
|
||||
data:
|
||||
message: Apple Watch left home
|
||||
|
@ -7,7 +7,7 @@
|
||||
to: OB DISCHRG
|
||||
condition: [ ]
|
||||
action:
|
||||
- service: notify.mobile_app_iphone_pg
|
||||
- service: notify.mobile_app_iphone
|
||||
data:
|
||||
title: "UPS Alert"
|
||||
message: UPS started discharging
|
||||
@ -21,7 +21,7 @@
|
||||
to: OL CHRG
|
||||
condition: [ ]
|
||||
action:
|
||||
- service: notify.mobile_app_iphone_pg
|
||||
- service: notify.mobile_app_iphone
|
||||
data:
|
||||
title: "UPS Alert"
|
||||
message: UPS is charging
|
||||
@ -35,7 +35,7 @@
|
||||
above: '200'
|
||||
condition: [ ]
|
||||
action:
|
||||
- service: notify.mobile_app_iphone_pg
|
||||
- service: notify.mobile_app_iphone
|
||||
data:
|
||||
title: "UPS Alert"
|
||||
message: UPS power is back
|
||||
@ -49,7 +49,7 @@
|
||||
below: '100'
|
||||
condition: [ ]
|
||||
action:
|
||||
- service: notify.mobile_app_iphone_pg
|
||||
- service: notify.mobile_app_iphone
|
||||
data:
|
||||
title: "UPS Alert"
|
||||
message: UPS battery is below 100%, estimated time on battery 25 min
|
||||
@ -63,7 +63,7 @@
|
||||
below: '50'
|
||||
condition: [ ]
|
||||
action:
|
||||
- service: notify.mobile_app_iphone_pg
|
||||
- service: notify.mobile_app_iphone
|
||||
data:
|
||||
title: "UPS Alert"
|
||||
message: UPS battery is below 50%, estimated time on battery 12 min
|
||||
@ -77,7 +77,7 @@
|
||||
below: '10'
|
||||
condition: [ ]
|
||||
action:
|
||||
- service: notify.mobile_app_iphone_pg
|
||||
- service: notify.mobile_app_iphone
|
||||
data:
|
||||
title: "UPS Alert"
|
||||
message: UPS battery is below 10%, estimated time on battery 2 min
|
||||
|
@ -71,7 +71,7 @@
|
||||
entity_id: sensor.valetudo_valetudos5_sensor_cleaning
|
||||
below: '60'
|
||||
action:
|
||||
- service: notify.mobile_app_iphone_pg
|
||||
- service: notify.mobile_app_iphone
|
||||
data:
|
||||
message: Clean sensors
|
||||
|
||||
@ -84,7 +84,7 @@
|
||||
below: '420'
|
||||
condition:
|
||||
action:
|
||||
- service: notify.mobile_app_iphone_pg
|
||||
- service: notify.mobile_app_iphone
|
||||
data:
|
||||
title: "Vacuum supply"
|
||||
message: "Main brush has less than 7h of lifetime buy a new one"
|
||||
@ -106,7 +106,7 @@
|
||||
entity_id: sensor.valetudo_valetudos5_main_brush
|
||||
below: '60'
|
||||
action:
|
||||
- service: notify.mobile_app_iphone_pg
|
||||
- service: notify.mobile_app_iphone
|
||||
data:
|
||||
message: "Main brush has {{ states('sensor.valetudo_valetudos5_main_brush') }} minutes of lifetime change it"
|
||||
|
||||
@ -119,7 +119,7 @@
|
||||
below: '420'
|
||||
condition:
|
||||
action:
|
||||
- service: notify.mobile_app_iphone_pg
|
||||
- service: notify.mobile_app_iphone
|
||||
data:
|
||||
title: "Vacuum supply"
|
||||
message: "Side brush has less than 7h of lifetime buy a new one"
|
||||
@ -141,7 +141,7 @@
|
||||
entity_id: sensor.valetudo_valetudos5_right_brush
|
||||
below: '60'
|
||||
action:
|
||||
- service: notify.mobile_app_iphone_pg
|
||||
- service: notify.mobile_app_iphone
|
||||
data:
|
||||
message: "Side brush has {{ states('sensor.valetudo_valetudos5_right_brush') }} minutes of lifetime change it"
|
||||
|
||||
@ -154,7 +154,7 @@
|
||||
below: '420'
|
||||
condition:
|
||||
action:
|
||||
- service: notify.mobile_app_iphone_pg
|
||||
- service: notify.mobile_app_iphone
|
||||
data:
|
||||
title: "Vacuum supply"
|
||||
message: "Filter has less than 7h of lifetime buy a new one"
|
||||
@ -176,6 +176,6 @@
|
||||
entity_id: sensor.valetudo_valetudos5_main_filter
|
||||
below: '60'
|
||||
action:
|
||||
- service: notify.mobile_app_iphone_pg
|
||||
- service: notify.mobile_app_iphone
|
||||
data:
|
||||
message: "Filter has {{ states('sensor.valetudo_valetudos5_main_filter') }} minutes of lifetime change it"
|
||||
|
Loading…
Reference in New Issue
Block a user