Open oscfor opened 1 year ago
When commenting out illuminance it works again (like below).
module: automoli
class: AutoMoLi
room: matsal
delay: 3600
daytimes:
- { starttime: "06:00", name: morning, light: 30, delay: 1800 }
- { starttime: "08:00", name: day, light: 30, delay: 3600 }
- { starttime: "18:15", name: evening, light: 28, delay: 0}
- { starttime: "20:30", name: night, light: 20, delay: 1800}
- { starttime: "23:30", name: late_night, light: 5, delay: 900}
lights:
- light.matsalsbelysning
# You can specify a list of motion sensors here
motion:
- binary_sensor.matsal_aktivitet_occupancy
illuminance:
# - sensor.matsal_aktivitet_illuminance
illuminance_threshold: 250
motion_state_on: "on"
motion_state_off: "off"
transition_on_daytime_switch: true```
Upgraded to latest z2m (1.29.0-1) and suddenly a few of my automations stopped working.