From f3885ce548c0e64ec642906f8ce71cc1fc5d27bd Mon Sep 17 00:00:00 2001 From: Przemek Grondek Date: Thu, 21 Apr 2022 23:17:44 +0200 Subject: [PATCH] Change kitchen illuminance sensor --- configuration/automations/kitchen-motion.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/configuration/automations/kitchen-motion.yaml b/configuration/automations/kitchen-motion.yaml index 6bb70dd..72cb321 100644 --- a/configuration/automations/kitchen-motion.yaml +++ b/configuration/automations/kitchen-motion.yaml @@ -13,8 +13,8 @@ entity_id: input_select.home_mode state: Day - condition: numeric_state - entity_id: sensor.kitchen_motion_sensor_illuminance - below: '16' + entity_id: sensor.xiaomi_lumi_sen_ill_mgl01_cc990100_illuminance + below: '100' sequence: - choose: - conditions: @@ -41,6 +41,9 @@ - condition: state entity_id: input_select.home_mode state: Night + - condition: numeric_state + entity_id: sensor.xiaomi_lumi_sen_ill_mgl01_cc990100_illuminance + below: '100' sequence: - service: light.turn_on entity_id: light.kitchen_lights