Sorry, I need to use the translator.
Building such is easy.
There are 2 Problems to solve:
- Automatic Light Control
- Measure Environment Light Level whilst ignoring the light produced by the light source
To do this properly we first need to solve Problem 2.
What I did is create a logic variable which is update with the measure light of the room when the sensor sends an update. But I only do this when the light in the room is off (by condition card)
Then you would want to look into the Zones feature. A zone becomes active when a motion sensor assigned to that zone triggers. So you need to create a flow which will turn on the light devices in a zone when the zone active trigger card is fired. Then add a logic compare condition to that flow which checks your logic variable for the light in the room against your defined threshold.
Finally add a thrid flow which uses the Zone became inactive for… trigger card to turn the lights off again.