i motion sensors for my Lightsystem Hue. In the floor and Kitchen are motion sensors. They react and switch on and off the light. I use Switches for my Rooms too. The Flow disable the motion sensors by click "on, dim up and down" and enable the Sensors by click "off".
Now i want to block this commands and disable the sensors between 7AM and 20PM for example, while the rooms are bright enough.
The Dimmer Switch sends "msg.payload.name = on, off, dim up, dim down
I simply add a switch with this options and the second switch delete all and add a boolean false or true to msg.payload to the sensors.
May you have any Node or similar to solve this? Timecheck node is not good enough. other time nodes are only start a flow. i dont know how i can solve it with functions.