Skip to content

Commit

Permalink
Merge pull request #16 from craibo/2022.06.2
Browse files Browse the repository at this point in the history
2022.06.2
  • Loading branch information
craibo authored Jun 6, 2022
2 parents 8e61a6d + 8b24409 commit 4fe7a64
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions custom_components/ha_strava/camera.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,5 @@ async def async_added_to_hass(self):
self.hass.bus.async_listen(CONF_IMG_UPDATE_EVENT, self.img_update_handler)

async def async_will_remove_from_hass(self):
self.hass.bus._async_remove_listener(
event_type=CONF_IMG_UPDATE_EVENT, listener=self.img_update_handler,
)
await super().async_will_remove_from_hass()

2 changes: 1 addition & 1 deletion custom_components/ha_strava/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -407,5 +407,5 @@ async def async_added_to_hass(self):
)

async def async_will_remove_from_hass(self):
super().async_will_remove_from_hass(self)
await super().async_will_remove_from_hass()

0 comments on commit 4fe7a64

Please sign in to comment.