async def async_will_remove_from_hass(self) -> None:
    'Disconnect device object when removed.'
    self.event.remove_callback(self.update_callback)
Disconnect device object when removed.
async def async_will_remove_from_hass(self) -> None:
    
    self.event.remove_callback(self.update_callback)