1
0

Fix notifications

This commit is contained in:
Przemek Grondek 2022-10-17 20:51:52 +02:00
parent 1269579f82
commit afd81625de
15 changed files with 35 additions and 35 deletions

View File

@ -38,7 +38,7 @@
entity_id: sensor.octoprint_job_percentage
to: '100.0'
action:
- service: notify.mobile_app_iphone
- service: notify.mobile_app_iphone_pg
data:
message: 3D printer has finished

View File

@ -12,7 +12,7 @@
entity_id: alarm_control_panel.home_alarm
state: disarmed
action:
- service: notify.mobile_app_iphone
- service: notify.mobile_app_iphone_pg
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
- service: notify.mobile_app_iphone_pg
data:
title: "Door locked back"
message: Front door was successfully locked

View File

@ -17,7 +17,7 @@
entity_id: alarm_control_panel.home_alarm
state: disarmed
action:
- service: notify.mobile_app_iphone
- service: notify.mobile_app_iphone_pg
data:
title: "Someone is near home"
message: >

View File

@ -10,7 +10,7 @@
from: 'off'
to: 'on'
action:
- service: notify.mobile_app_iphone
- service: notify.mobile_app_iphone_pg
data:
message: Motion Detected in Kitchen!
data:
@ -35,7 +35,7 @@
from: 'off'
to: 'on'
action:
- service: notify.mobile_app_iphone
- service: notify.mobile_app_iphone_pg
data:
message: Motion Detected in Hallway!
data:

View File

@ -7,7 +7,7 @@
from: 'off'
to: 'on'
action:
- service: notify.mobile_app_iphone
- service: notify.mobile_app_iphone_pg
data:
message: Doorbell
data:

View File

@ -11,7 +11,7 @@
minutes: 30
seconds: 0
action:
- service: notify.mobile_app_iphone
- service: notify.mobile_app_iphone_pg
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
- service: notify.mobile_app_iphone_pg
data:
message: Someone knock
data:

View File

@ -177,7 +177,7 @@
below: '10'
entity_id: sensor.weather_sensor_power
action:
- service: notify.mobile_app_iphone
- service: notify.mobile_app_iphone_pg
data:
title: "Low battery"
message: >

View File

@ -12,7 +12,7 @@
entity_id: binary_sensor.washing_machine_water_leak_sensor
to: 'on'
action:
- service: notify.mobile_app_iphone
- service: notify.mobile_app_iphone_pg
data:
title: "Leak detection"
message: >

View File

@ -67,7 +67,7 @@
entity_id: sensor.ble_moisture_thuja_plant_3
below: '5'
action:
- service: notify.mobile_app_iphone
- service: notify.mobile_app_iphone_pg
data:
title: Water plants
message: >

View File

@ -6,7 +6,7 @@
entity_id: sensor.router_eth0_link_speed
to: '100'
action:
- service: notify.mobile_app_iphone
- service: notify.mobile_app_iphone_pg
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
- service: notify.mobile_app_iphone_pg
data:
message: Wifi link speed fell down to 100 Mbit

View File

@ -450,7 +450,7 @@
type: device_offline
subtype: device_offline
action:
- service: notify.mobile_app_iphone
- service: notify.mobile_app_iphone_pg
data:
title: "Device unavailable"
message: >

View File

@ -5,7 +5,7 @@
entity_id: person.przemek
to: home
action:
- service: notify.mobile_app_iphone
- service: notify.mobile_app_iphone_pg
data:
message: Arrive home
data:
@ -22,7 +22,7 @@
entity_id: person.przemek
from: home
action:
- service: notify.mobile_app_iphone
- service: notify.mobile_app_iphone_pg
data:
message: You left home
data:

View File

@ -6,7 +6,7 @@
entity_id: sensor.przemyslaws_apple_watch_room_presence
to: ra-bathroom
action:
- service: notify.mobile_app_iphone
- service: notify.mobile_app_iphone_pg
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
- service: notify.mobile_app_iphone_pg
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
- service: notify.mobile_app_iphone_pg
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
- service: notify.mobile_app_iphone_pg
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
- service: notify.mobile_app_iphone_pg
data:
message: Apple Watch left home

View File

@ -7,7 +7,7 @@
to: OB DISCHRG
condition: [ ]
action:
- service: notify.mobile_app_iphone
- service: notify.mobile_app_iphone_pg
data:
title: "UPS Alert"
message: UPS started discharging
@ -21,7 +21,7 @@
to: OL CHRG
condition: [ ]
action:
- service: notify.mobile_app_iphone
- service: notify.mobile_app_iphone_pg
data:
title: "UPS Alert"
message: UPS is charging
@ -35,7 +35,7 @@
above: '200'
condition: [ ]
action:
- service: notify.mobile_app_iphone
- service: notify.mobile_app_iphone_pg
data:
title: "UPS Alert"
message: UPS power is back
@ -49,7 +49,7 @@
below: '100'
condition: [ ]
action:
- service: notify.mobile_app_iphone
- service: notify.mobile_app_iphone_pg
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
- service: notify.mobile_app_iphone_pg
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
- service: notify.mobile_app_iphone_pg
data:
title: "UPS Alert"
message: UPS battery is below 10%, estimated time on battery 2 min

View File

@ -71,7 +71,7 @@
entity_id: sensor.valetudo_valetudos5_sensor_cleaning
below: '60'
action:
- service: notify.mobile_app_iphone
- service: notify.mobile_app_iphone_pg
data:
message: Clean sensors
@ -84,7 +84,7 @@
below: '420'
condition:
action:
- service: notify.mobile_app_iphone
- service: notify.mobile_app_iphone_pg
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
- service: notify.mobile_app_iphone_pg
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
- service: notify.mobile_app_iphone_pg
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
- service: notify.mobile_app_iphone_pg
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
- service: notify.mobile_app_iphone_pg
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
- service: notify.mobile_app_iphone_pg
data:
message: "Filter has {{ states('sensor.valetudo_valetudos5_main_filter') }} minutes of lifetime change it"