Fix bug preventing Notion entities from updating their bridge (#43122)

This commit is contained in:
Aaron Bach 2020-11-12 13:45:20 -07:00 committed by GitHub
parent b84415344f
commit 3f09c9bc0e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -249,6 +249,7 @@ class NotionEntity(CoordinatorEntity):
@callback
def _handle_coordinator_update(self):
"""Respond to a DataUpdateCoordinator update."""
self.hass.async_create_task(self._async_update_bridge_id())
self._async_update_from_latest_data()
self.async_write_ha_state()