From 894a5d99802ec3de16cc26e1d890b38d4ffe079a Mon Sep 17 00:00:00 2001 From: Przemek Grondek Date: Wed, 1 Feb 2023 18:03:19 +0100 Subject: [PATCH] Add Office Motion Sensor --- configuration/automations/alarm.yaml | 3 +++ configuration/automations/info-battery.yaml | 3 +++ configuration/automations/info-unavailable-notice.yaml | 6 ++++++ 3 files changed, 12 insertions(+) diff --git a/configuration/automations/alarm.yaml b/configuration/automations/alarm.yaml index 3e293c9..190b0dc 100644 --- a/configuration/automations/alarm.yaml +++ b/configuration/automations/alarm.yaml @@ -39,6 +39,9 @@ - platform: state entity_id: binary_sensor.kitchen_motion_sensor to: 'on' + - platform: state + entity_id: binary_sensor.office_sensor_motion + to: 'on' # - platform: state # entity_id: binary_sensor.kitchen_tabletop_motion_detection # to: 'on' diff --git a/configuration/automations/info-battery.yaml b/configuration/automations/info-battery.yaml index daafcc7..9fb8d5f 100644 --- a/configuration/automations/info-battery.yaml +++ b/configuration/automations/info-battery.yaml @@ -155,6 +155,9 @@ - platform: numeric_state below: '10' entity_id: sensor.office_illuminance_sensor_battery + - platform: numeric_state + below: '10' + entity_id: sensor.office_motion_sensor_battery - platform: numeric_state below: '10' entity_id: sensor.office_thermostat_battery_level diff --git a/configuration/automations/info-unavailable-notice.yaml b/configuration/automations/info-unavailable-notice.yaml index 4e0d9a7..601ffdf 100644 --- a/configuration/automations/info-unavailable-notice.yaml +++ b/configuration/automations/info-unavailable-notice.yaml @@ -418,6 +418,12 @@ platform: device type: device_offline subtype: device_offline + # Office Motion Sensor + - device_id: 5dc8b6e216588033d4d31d8c3d561d70 + domain: zha + platform: device + type: device_offline + subtype: device_offline # Office Window - device_id: ceab8d95ef12c5ebd406302ec0f4178d domain: zha