I’m a little lost, using hass for quite some time but still a noob when it comes to automation.
Recently I replaced my living room setup with a new tv and stuff… this setup consumes more than 20w in standby and I wan’t to automate a main power-off solution, using a simple wifi switch.
Can anyone point me in the right direction? I’m able to measure consumption with the switch, and I would like to toggle the switch state when the consumption is <30w for let’s say 5 minutes.
How do I set this up in node red to have a time based rule on the sensor state?
I don’t know why I always think maximum complicated… this does it aswell and more elegant I guess.
Only thing I don’t get, why does this states the switch under data and once again under action?