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 entity_id: sensor.octoprint_job_percentage
to: '100.0' to: '100.0'
action: action:
- service: notify.mobile_app_iphone - service: notify.mobile_app_iphone_pg
data: data:
message: 3D printer has finished message: 3D printer has finished

View File

@ -12,7 +12,7 @@
entity_id: alarm_control_panel.home_alarm entity_id: alarm_control_panel.home_alarm
state: disarmed state: disarmed
action: action:
- service: notify.mobile_app_iphone - service: notify.mobile_app_iphone_pg
data: data:
title: "Door unlocked!" title: "Door unlocked!"
message: Front door was unlocked, trying to lock it back message: Front door was unlocked, trying to lock it back
@ -35,7 +35,7 @@
- service: lock.lock - service: lock.lock
target: target:
entity_id: lock.front_door_25f246fe_door_lock entity_id: lock.front_door_25f246fe_door_lock
- service: notify.mobile_app_iphone - service: notify.mobile_app_iphone_pg
data: data:
title: "Door locked back" title: "Door locked back"
message: Front door was successfully locked message: Front door was successfully locked

View File

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

View File

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

View File

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

View File

@ -11,7 +11,7 @@
minutes: 30 minutes: 30
seconds: 0 seconds: 0
action: action:
- service: notify.mobile_app_iphone - service: notify.mobile_app_iphone_pg
data: data:
message: Front Door left unlock for 30 minutes, would you like to close it? message: Front Door left unlock for 30 minutes, would you like to close it?
data: data:
@ -35,7 +35,7 @@
entity_id: binary_sensor.hallway_motion_sensor entity_id: binary_sensor.hallway_motion_sensor
state: 'off' state: 'off'
action: action:
- service: notify.mobile_app_iphone - service: notify.mobile_app_iphone_pg
data: data:
message: Someone knock message: Someone knock
data: data:

View File

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

View File

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

View File

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

View File

@ -6,7 +6,7 @@
entity_id: sensor.router_eth0_link_speed entity_id: sensor.router_eth0_link_speed
to: '100' to: '100'
action: action:
- service: notify.mobile_app_iphone - service: notify.mobile_app_iphone_pg
data: data:
message: Internet link fell down to 100 Mbit message: Internet link fell down to 100 Mbit
@ -18,6 +18,6 @@
entity_id: sensor.router_eth4_link_speed entity_id: sensor.router_eth4_link_speed
to: '100' to: '100'
action: action:
- service: notify.mobile_app_iphone - service: notify.mobile_app_iphone_pg
data: data:
message: Wifi link speed fell down to 100 Mbit message: Wifi link speed fell down to 100 Mbit

View File

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

View File

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

View File

@ -6,7 +6,7 @@
entity_id: sensor.przemyslaws_apple_watch_room_presence entity_id: sensor.przemyslaws_apple_watch_room_presence
to: ra-bathroom to: ra-bathroom
action: action:
- service: notify.mobile_app_iphone - service: notify.mobile_app_iphone_pg
data: data:
message: Apple Watch enter bathroom message: Apple Watch enter bathroom
@ -18,7 +18,7 @@
entity_id: sensor.przemyslaws_apple_watch_room_presence entity_id: sensor.przemyslaws_apple_watch_room_presence
from: ra-bathroom from: ra-bathroom
action: action:
- service: notify.mobile_app_iphone - service: notify.mobile_app_iphone_pg
data: data:
message: Apple Watch left bathroom message: Apple Watch left bathroom
- choose: - choose:
@ -39,7 +39,7 @@
entity_id: sensor.przemyslaws_apple_watch_room_presence entity_id: sensor.przemyslaws_apple_watch_room_presence
to: ra-bedroom to: ra-bedroom
action: action:
- service: notify.mobile_app_iphone - service: notify.mobile_app_iphone_pg
data: data:
message: Apple Watch enter bathroom message: Apple Watch enter bathroom
@ -51,7 +51,7 @@
entity_id: sensor.przemyslaws_apple_watch_room_presence entity_id: sensor.przemyslaws_apple_watch_room_presence
from: ra-bedroom from: ra-bedroom
action: action:
- service: notify.mobile_app_iphone - service: notify.mobile_app_iphone_pg
data: data:
message: Apple Watch left bedroom message: Apple Watch left bedroom
- choose: - choose:
@ -72,6 +72,6 @@
entity_id: sensor.przemyslaws_apple_watch_room_presence entity_id: sensor.przemyslaws_apple_watch_room_presence
to: not_home to: not_home
action: action:
- service: notify.mobile_app_iphone - service: notify.mobile_app_iphone_pg
data: data:
message: Apple Watch left home message: Apple Watch left home

View File

@ -7,7 +7,7 @@
to: OB DISCHRG to: OB DISCHRG
condition: [ ] condition: [ ]
action: action:
- service: notify.mobile_app_iphone - service: notify.mobile_app_iphone_pg
data: data:
title: "UPS Alert" title: "UPS Alert"
message: UPS started discharging message: UPS started discharging
@ -21,7 +21,7 @@
to: OL CHRG to: OL CHRG
condition: [ ] condition: [ ]
action: action:
- service: notify.mobile_app_iphone - service: notify.mobile_app_iphone_pg
data: data:
title: "UPS Alert" title: "UPS Alert"
message: UPS is charging message: UPS is charging
@ -35,7 +35,7 @@
above: '200' above: '200'
condition: [ ] condition: [ ]
action: action:
- service: notify.mobile_app_iphone - service: notify.mobile_app_iphone_pg
data: data:
title: "UPS Alert" title: "UPS Alert"
message: UPS power is back message: UPS power is back
@ -49,7 +49,7 @@
below: '100' below: '100'
condition: [ ] condition: [ ]
action: action:
- service: notify.mobile_app_iphone - service: notify.mobile_app_iphone_pg
data: data:
title: "UPS Alert" title: "UPS Alert"
message: UPS battery is below 100%, estimated time on battery 25 min message: UPS battery is below 100%, estimated time on battery 25 min
@ -63,7 +63,7 @@
below: '50' below: '50'
condition: [ ] condition: [ ]
action: action:
- service: notify.mobile_app_iphone - service: notify.mobile_app_iphone_pg
data: data:
title: "UPS Alert" title: "UPS Alert"
message: UPS battery is below 50%, estimated time on battery 12 min message: UPS battery is below 50%, estimated time on battery 12 min
@ -77,7 +77,7 @@
below: '10' below: '10'
condition: [ ] condition: [ ]
action: action:
- service: notify.mobile_app_iphone - service: notify.mobile_app_iphone_pg
data: data:
title: "UPS Alert" title: "UPS Alert"
message: UPS battery is below 10%, estimated time on battery 2 min 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 entity_id: sensor.valetudo_valetudos5_sensor_cleaning
below: '60' below: '60'
action: action:
- service: notify.mobile_app_iphone - service: notify.mobile_app_iphone_pg
data: data:
message: Clean sensors message: Clean sensors
@ -84,7 +84,7 @@
below: '420' below: '420'
condition: condition:
action: action:
- service: notify.mobile_app_iphone - service: notify.mobile_app_iphone_pg
data: data:
title: "Vacuum supply" title: "Vacuum supply"
message: "Main brush has less than 7h of lifetime buy a new one" message: "Main brush has less than 7h of lifetime buy a new one"
@ -106,7 +106,7 @@
entity_id: sensor.valetudo_valetudos5_main_brush entity_id: sensor.valetudo_valetudos5_main_brush
below: '60' below: '60'
action: action:
- service: notify.mobile_app_iphone - service: notify.mobile_app_iphone_pg
data: data:
message: "Main brush has {{ states('sensor.valetudo_valetudos5_main_brush') }} minutes of lifetime change it" message: "Main brush has {{ states('sensor.valetudo_valetudos5_main_brush') }} minutes of lifetime change it"
@ -119,7 +119,7 @@
below: '420' below: '420'
condition: condition:
action: action:
- service: notify.mobile_app_iphone - service: notify.mobile_app_iphone_pg
data: data:
title: "Vacuum supply" title: "Vacuum supply"
message: "Side brush has less than 7h of lifetime buy a new one" message: "Side brush has less than 7h of lifetime buy a new one"
@ -141,7 +141,7 @@
entity_id: sensor.valetudo_valetudos5_right_brush entity_id: sensor.valetudo_valetudos5_right_brush
below: '60' below: '60'
action: action:
- service: notify.mobile_app_iphone - service: notify.mobile_app_iphone_pg
data: data:
message: "Side brush has {{ states('sensor.valetudo_valetudos5_right_brush') }} minutes of lifetime change it" message: "Side brush has {{ states('sensor.valetudo_valetudos5_right_brush') }} minutes of lifetime change it"
@ -154,7 +154,7 @@
below: '420' below: '420'
condition: condition:
action: action:
- service: notify.mobile_app_iphone - service: notify.mobile_app_iphone_pg
data: data:
title: "Vacuum supply" title: "Vacuum supply"
message: "Filter has less than 7h of lifetime buy a new one" message: "Filter has less than 7h of lifetime buy a new one"
@ -176,6 +176,6 @@
entity_id: sensor.valetudo_valetudos5_main_filter entity_id: sensor.valetudo_valetudos5_main_filter
below: '60' below: '60'
action: action:
- service: notify.mobile_app_iphone - service: notify.mobile_app_iphone_pg
data: data:
message: "Filter has {{ states('sensor.valetudo_valetudos5_main_filter') }} minutes of lifetime change it" message: "Filter has {{ states('sensor.valetudo_valetudos5_main_filter') }} minutes of lifetime change it"