MTrab / pyworxcloud

PyPI module for integrating with Worx Cloud devices
GNU General Public License v3.0
22 stars 20 forks source link

handle disconnect when no mower in account #160

Closed Phhere closed 1 year ago

Phhere commented 1 year ago

When there is no mower in the account (previous patch #158) there is no mqtt connection so self.mqtt is None and we can not call .disconnect()

This patch is required to reload the homeassistant integration and not get a exception