In the Google Home app, if you go in to your sensor, you will see a
value for Light level. When the light is on (in the room where the
sensor is), the Light level value (for me) was around 22, so I
originally set the value to lessThanOrEqualTo: 5 but...
I managed to get my Eve Motion sensor working using this code. metadata:
name: Landing Light Sensor description: When motion is detected and
light level is low, turn the landing light on. Then turn it off after
five minutes. automations: - starters: ...