I’m having trouble with some Mirabella Genio lights (Tuya based?) that I have OTA flashed with ESPHome.
The behaviour that I would like to replicate is the default behaviour of most smart bulbs:
When I turn the light on at the wall, I would like it to immediately come on to full brightness, as if it had no smarts at all. Once it’s on and connected to the network, any automations and control would obviously work.
but this doesn’t make the bulb come on immediately - it actually doesn’t come on at all.
I can fiddle with the on_boot priority to make it work, but only if I adjust it to come on after wifi is initialised (priority -10), which is too slow.
Any higher priority doesn’t work - some priorities cause a very brief flicker on and then it stays off.
I think I’d like to use something more akin to restore_mode as applied to the GPIO Switch platform, but I don’t think this can be applied to a light platform through a PWM GPIO