diff --git a/custom_components/metlink/config_flow.py b/custom_components/metlink/config_flow.py index 358b497..7070f20 100644 --- a/custom_components/metlink/config_flow.py +++ b/custom_components/metlink/config_flow.py @@ -25,7 +25,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity_registry import ( async_entries_for_config_entry, - async_get_registry, + async_get, ) import voluptuous as vol @@ -141,7 +141,7 @@ async def async_step_init( self, user_input: Dict[str, Any] = None ) -> Dict[str, Any]: """Manage the options for the component.""" - entity_registry = await async_get_registry(self.hass) + entity_registry = await async_get(self.hass) entries = async_entries_for_config_entry( entity_registry, self.config_entry.entry_id ) diff --git a/custom_components/metlink/manifest.json b/custom_components/metlink/manifest.json index 9ea237e..8ab4cfc 100644 --- a/custom_components/metlink/manifest.json +++ b/custom_components/metlink/manifest.json @@ -8,5 +8,5 @@ "iot_class": "cloud_polling", "issue_tracker": "https://github.com/make-all/metlink-nz/issues", "requirements": ["isodate~=0.6.1"], - "version": "1.0.6" + "version": "1.0.8" } diff --git a/hacs.json b/hacs.json index 1e25e75..2a27984 100644 --- a/hacs.json +++ b/hacs.json @@ -2,5 +2,5 @@ "name": "Metlink Wellington Transport", "render_readme": true, "country": "NZ", - "homeassistant": "2022.3.0" + "homeassistant": "2022.6.0" }