Add more vacuum notifications
This commit is contained in:
parent
113d7c9207
commit
1334b56669
@ -53,3 +53,127 @@
|
||||
- service: input_boolean.turn_off
|
||||
target:
|
||||
entity_id: input_boolean.today_vacuumed
|
||||
|
||||
- id: vacuum-clean-sensors
|
||||
alias: '[Vacuum] Clean sensors'
|
||||
mode: single
|
||||
trigger:
|
||||
- platform: numeric_state
|
||||
entity_id: sensor.valetudo_valetudos5_sensor_cleaning
|
||||
below: '60'
|
||||
- platform: state
|
||||
entity_id: vacuum.valetudo_valetudos5
|
||||
to: Cleaning
|
||||
condition:
|
||||
- condition: numeric_state
|
||||
entity_id: sensor.valetudo_valetudos5_sensor_cleaning
|
||||
below: '60'
|
||||
action:
|
||||
- service: notify.mobile_app_iphone_pg
|
||||
data:
|
||||
message: Clean sensors
|
||||
|
||||
- id: vacuum-buy-main-brush
|
||||
alias: '[Vacuum] Buy main brush'
|
||||
mode: single
|
||||
trigger:
|
||||
- platform: numeric_state
|
||||
entity_id: sensor.valetudo_valetudos5_main_brush
|
||||
below: '420'
|
||||
condition:
|
||||
action:
|
||||
- service: notify.mobile_app_iphone_pg
|
||||
data:
|
||||
title: "Vacuum supply"
|
||||
message: "Main brush has less than 7h of lifetime buy a new one"
|
||||
data:
|
||||
url: "https://allegro.pl/listing?string=roborock+s5+szczotka"
|
||||
|
||||
- id: vacuum-change-main-brush
|
||||
alias: '[Vacuum] Change main brush'
|
||||
mode: single
|
||||
trigger:
|
||||
- platform: numeric_state
|
||||
entity_id: sensor.valetudo_valetudos5_main_brush
|
||||
below: '60'
|
||||
- platform: state
|
||||
entity_id: vacuum.valetudo_valetudos5
|
||||
to: Cleaning
|
||||
condition:
|
||||
- condition: numeric_state
|
||||
entity_id: sensor.valetudo_valetudos5_main_brush
|
||||
below: '60'
|
||||
action:
|
||||
- service: notify.mobile_app_iphone_pg
|
||||
data:
|
||||
message: "Main brush has {{ states('sensor.valetudo_valetudos5_main_brush') }} minutes of lifetime change it"
|
||||
|
||||
- id: vacuum-buy-side-brush
|
||||
alias: '[Vacuum] Buy side brush'
|
||||
mode: single
|
||||
trigger:
|
||||
- platform: numeric_state
|
||||
entity_id: sensor.valetudo_valetudos5_right_brush
|
||||
below: '420'
|
||||
condition:
|
||||
action:
|
||||
- service: notify.mobile_app_iphone_pg
|
||||
data:
|
||||
title: "Vacuum supply"
|
||||
message: "Side brush has less than 7h of lifetime buy a new one"
|
||||
data:
|
||||
url: "https://allegro.pl/listing?string=roborock+s5+szczotka"
|
||||
|
||||
- id: vacuum-change-side-brush
|
||||
alias: '[Vacuum] Change side brush'
|
||||
mode: single
|
||||
trigger:
|
||||
- platform: numeric_state
|
||||
entity_id: sensor.valetudo_valetudos5_right_brush
|
||||
below: '60'
|
||||
- platform: state
|
||||
entity_id: vacuum.valetudo_valetudos5
|
||||
to: Cleaning
|
||||
condition:
|
||||
- condition: numeric_state
|
||||
entity_id: sensor.valetudo_valetudos5_right_brush
|
||||
below: '60'
|
||||
action:
|
||||
- service: notify.mobile_app_iphone_pg
|
||||
data:
|
||||
message: "Side brush has {{ states('sensor.valetudo_valetudos5_right_brush') }} minutes of lifetime change it"
|
||||
|
||||
- id: vacuum-buy-filter
|
||||
alias: '[Vacuum] Buy filter'
|
||||
mode: single
|
||||
trigger:
|
||||
- platform: numeric_state
|
||||
entity_id: sensor.valetudo_valetudos5_main_filter
|
||||
below: '420'
|
||||
condition:
|
||||
action:
|
||||
- service: notify.mobile_app_iphone_pg
|
||||
data:
|
||||
title: "Vacuum supply"
|
||||
message: "Filter has less than 7h of lifetime buy a new one"
|
||||
data:
|
||||
url: "https://allegro.pl/listing?string=roborock+s5+filtr"
|
||||
|
||||
- id: vacuum-change-filter
|
||||
alias: '[Vacuum] Change filter'
|
||||
mode: single
|
||||
trigger:
|
||||
- platform: numeric_state
|
||||
entity_id: sensor.valetudo_valetudos5_main_filter
|
||||
below: '60'
|
||||
- platform: state
|
||||
entity_id: vacuum.valetudo_valetudos5
|
||||
to: Cleaning
|
||||
condition:
|
||||
- condition: numeric_state
|
||||
entity_id: sensor.valetudo_valetudos5_main_filter
|
||||
below: '60'
|
||||
action:
|
||||
- service: notify.mobile_app_iphone_pg
|
||||
data:
|
||||
message: "Filter has {{ states('sensor.valetudo_valetudos5_main_filter') }} minutes of lifetime change it"
|
||||
|
Loading…
Reference in New Issue
Block a user