Would like to have a gate functionality to turn on lights based on IR-movement sensors, but only when it is dark (condition 1) and when follow-me-functionality is enabled (condition two).
And if i could get the PIR-sensor entity state and entity ID passed through when the gate is open i could connect all PIR-sensors to this gate and then sort the correct on/off states to corresponding light switches. This is, having just one Gate-entity instead of separate gate to every PIR & Light switch -pair.
Have tried simple Gates etch, but to no avail… probably need to have a function-block to achieve this?