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