Custom firmware ESPHome-Xiaomi_bslamp2

Might have found the cause of my lamp losing WiFi.

At about the same time as this started, I set up the sunrise effect wake-up light blueprint. Thinking this could be related, I disabled the automation and it didn’t disconnect from WiFi for a few weeks. Enabled the automation and it disconnected within a week.

@mmakaay if you have a moment, can you look over the blueprint below and see if you can find anything that would cause this issue?

Thanks!