Why is this rule not working as expected?
I have a rule with a motion sensor, power plug and a virtual sensor.
The virtual sensor "DAYLIGHT SENSOR" is set to active between sunrise and sunset and inactiven in the night.
So, I want to enable the power plug if the motion sensor is active AND the daylight sensor is inactive (night).
The problem is, that the power plug will be enabled everytime. The status of the daylight sensor does not make any difference.
What is the problem?