I have an Aqara smart plug to a lamp. I can only turn off the lamp, but that is okay. So as of now, when I turn the plug off, it wil go back to on after a while so I can turn on the light next time I want to.
This means that the plug will always show as on, even when the light is of.
Is there an easy way to change the value of on/off depending on the voltage instead?
I guess I could always do something in node-red, but no need to make it more complicated than neccecary. I want to be able to both see the actual status of the light as well be able to turn it off when needed, both in automations and from the dashboard.
Is it possible to set this from zigbee2mqtt, or do I have to take the node-red-route?