Comparison (string) null executes (string)


#1

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

post

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:


#2

Green snapshot of the piston?


#3

(preferably with TRACE turned on)


#4

Thanks for help. Below is the piston and the log from last night. As you can see, at the bottom of the log it says “Setting up scheduled job for Thu, Feb 28 2019 @ 1:06:39 AM EST (in 119.826s), with 2 more jobs pending”, but the job that was suppose to run at 1:06:39 never does. So this piston never does it’s last couple of steps.

I have the lights go to 100% then off to “reset” them, so when the next person turns them on, they will be a full brightness. I don’t know a better way to do this. Thanks for help!