Crall

Untitled

Dec 11th, 2025
23
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. alias: turn_on-kitchenlight-lux
  2. description: Tänder om det blir mörkt efter 14, eller om det redan är mörkt kl 14.
  3. triggers:
  4. - trigger: numeric_state
  5. entity_id: sensor.xiaomi_lumi_sen_ill_mgl01_a55d0d00_illuminance
  6. below: 24
  7. for:
  8. minutes: 2
  9. - trigger: time
  10. at: "14:00:00"
  11. conditions:
  12. - condition: time
  13. before: "23:00:00"
  14. after: "14:00:00"
  15. - condition: numeric_state
  16. entity_id: sensor.xiaomi_lumi_sen_ill_mgl01_a55d0d00_illuminance
  17. below: 24
  18. actions:
  19. - action: switch.turn_on
  20. target:
  21. entity_id:
  22. - switch.ikea_of_sweden_tradfri_control_outlet_switch
  23. - switch.hall_plug_switch
  24. - switch.nous_2_plug_switch
  25. - switch.ikea_staketbelysning_switch_2
  26. - switch.utomhus_julbelysning
  27. mode: single
  28.  
Advertisement
Add Comment
Please, Sign In to add comment