Description of problem:
When MQTT server restarts while the service is active. MQTT is reconnected but command topics are not subscribed to again.
Subscribing to topics probably should be moved to the callback on_connect.
As this is a bug in code don't realy see the need for other info.
Run our report script 'genBugInfo' on your failing device and include the output here:
Checklist:
Release with the issue: 1.8.4
Last working release (if known):
Hardware, Operating System, Python version: Rpi 3b r1.2, buster 5.4.51-v7+, python 3.7.3
Description of problem: When MQTT server restarts while the service is active. MQTT is reconnected but command topics are not subscribed to again. Subscribing to topics probably should be moved to the callback on_connect.
As this is a bug in code don't realy see the need for other info.
Run our report script 'genBugInfo' on your failing device and include the output here:
Python errors shown in the logs (if applicable):
Additional information: