I have a piston that is giving me some problems. It’s basically just shutting off the lights in my house. There are a few “async with… do…” statements, nothing complicated. However, sometimes it does not work. In the logs, when it does not work, I see this
When it does work, you don’t see the “comparison (string) null executes (string)” and subsequent “Cancelling condition” statements.
I have custom device handlers on my dimmer switches… that I feel may be causing the problem? This is the device handler: