From 1c8774b7040c26d57f369e440a5a1f1e0cb23ad9 Mon Sep 17 00:00:00 2001 From: Przemek Grondek Date: Wed, 10 Aug 2022 21:54:52 +0200 Subject: [PATCH] Add new devices' battery/unavailable notice --- configuration/automations/info-battery.yaml | 11 ++++++++++- .../automations/info-unavailable-notice.yaml | 18 ++++++++++++++++++ 2 files changed, 28 insertions(+), 1 deletion(-) diff --git a/configuration/automations/info-battery.yaml b/configuration/automations/info-battery.yaml index 7231b1f..f3e4e82 100644 --- a/configuration/automations/info-battery.yaml +++ b/configuration/automations/info-battery.yaml @@ -34,7 +34,7 @@ entity_id: sensor.bedroom_bed_motion_sensor_battery - platform: numeric_state below: '10' - entity_id: sensor.bedroom_blinds_button_battery + entity_id: sensor.bedroom_blinds_button_power - platform: numeric_state below: '10' entity_id: sensor.bedroom_button_battery @@ -107,6 +107,9 @@ - platform: numeric_state below: '10' entity_id: sensor.freezer_door_battery + - platform: numeric_state + below: '10' + entity_id: sensor.fridge_leak_power - platform: numeric_state below: '10' entity_id: sensor.front_door_lock_battery @@ -116,6 +119,9 @@ - platform: numeric_state below: '10' entity_id: sensor.front_door_sensor_battery + - platform: numeric_state + below: '10' + entity_id: sensor.front_door_vibration_power - platform: numeric_state below: '10' entity_id: sensor.hallway_button_battery @@ -167,6 +173,9 @@ - platform: numeric_state below: '10' entity_id: sensor.washing_machine_battery + - platform: numeric_state + below: '10' + entity_id: sensor.weather_sensor_power action: - service: notify.mobile_app_iphone_pg data: diff --git a/configuration/automations/info-unavailable-notice.yaml b/configuration/automations/info-unavailable-notice.yaml index 45e4950..798880c 100644 --- a/configuration/automations/info-unavailable-notice.yaml +++ b/configuration/automations/info-unavailable-notice.yaml @@ -165,6 +165,18 @@ platform: device type: device_offline subtype: device_offline + # Fridge leak sensor + - device_id: dd0622ae6241b21492fccccd97bad7bc + domain: zha + platform: device + type: device_offline + subtype: device_offline + # Front door vibration + - device_id: f5e5356b4a45190ec2dad08ca9f991e8 + domain: zha + platform: device + type: device_offline + subtype: device_offline # Bedroom window - device_id: f6bbab8171167a6adaeee8e9df5e1e44 domain: zha @@ -417,6 +429,12 @@ platform: device type: device_offline subtype: device_offline + # Weather sensor + - device_id: f5e5356b4a45190ec2dad08ca9f991e8 + domain: zha + platform: device + type: device_offline + subtype: device_offline # Z-Wave Kitchen tabletop motion - platform: device device_id: c7bb75d230dd4f8a5b7ece910f00c583