This MR follows the suggestion in https://developers.home-assistant.io/docs/core/bluetooth/api/#triggering-rediscovery-of-devices to force a rescan of the device after unloading the config entry. I noticed that if HA lost connection to the device (let's say I turned off the Walking Pad for a few hours and then came back to use it), it would no longer be able to correctly work, even if I tried reloading the config entry for the King Smith integration. The only way to get it back working was to restart Home Assistant.
Hm. seems like maybe these lint errors are actually pre-existing. I'm going to land your pull requests cause they're super valuable and figure out the lint stuff separately.
This MR follows the suggestion in https://developers.home-assistant.io/docs/core/bluetooth/api/#triggering-rediscovery-of-devices to force a rescan of the device after unloading the config entry. I noticed that if HA lost connection to the device (let's say I turned off the Walking Pad for a few hours and then came back to use it), it would no longer be able to correctly work, even if I tried reloading the config entry for the King Smith integration. The only way to get it back working was to restart Home Assistant.