Following the feedback from @pinkywafer, slight modification to the script to first wait for the MQTT unavailable status. This will give more reliable timing of the shutdown sequence. See issue #20 for more information about the timing of shutdown events.
Following the feedback from @pinkywafer, slight modification to the script to first wait for the MQTT unavailable status. This will give more reliable timing of the shutdown sequence. See issue #20 for more information about the timing of shutdown events.
Closes #20