I just pulled out one smart socket and one smart lightbulb of of Tuya!!! With Tasmota firmware ofc.
Question is: How can I trigger and automation when device becomes online from offline state? I have wall switch which physically disconnects power from smart bulb. What I want is when power is back it should always switch mode to white (not colour) and brightness 100%. How this condition should look like in YAML?