Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- alias: turn_on-kitchenlight-lux
- description: Tänder om det blir mörkt efter 14, eller om det redan är mörkt kl 14.
- triggers:
- - trigger: numeric_state
- entity_id: sensor.xiaomi_lumi_sen_ill_mgl01_a55d0d00_illuminance
- below: 24
- for:
- minutes: 2
- - trigger: time
- at: "14:00:00"
- conditions:
- - condition: time
- before: "23:00:00"
- after: "14:00:00"
- - condition: numeric_state
- entity_id: sensor.xiaomi_lumi_sen_ill_mgl01_a55d0d00_illuminance
- below: 24
- actions:
- - action: switch.turn_on
- target:
- entity_id:
- - switch.ikea_of_sweden_tradfri_control_outlet_switch
- - switch.hall_plug_switch
- - switch.nous_2_plug_switch
- - switch.ikea_staketbelysning_switch_2
- - switch.utomhus_julbelysning
- mode: single
Advertisement
Add Comment
Please, Sign In to add comment