From bf5dc55fbad62edc6b404809d66aca7f28a8aad5 Mon Sep 17 00:00:00 2001 From: thomasgermain <12560542+thomasgermain@users.noreply.github.com> Date: Tue, 10 Aug 2021 15:01:26 +0200 Subject: [PATCH] release 1.7.1 (cherry picked from commit d410663c9cfedcbd7a9fc0805fd4773cb7af65ba) --- custom_components/multimatic/__init__.py | 6 +++--- custom_components/multimatic/manifest.json | 2 +- custom_components/multimatic/strings.json | 1 - custom_components/multimatic/translations/bg.json | 1 - custom_components/multimatic/translations/ca.json | 1 - custom_components/multimatic/translations/cs.json | 1 - custom_components/multimatic/translations/da.json | 1 - custom_components/multimatic/translations/de.json | 1 - custom_components/multimatic/translations/en.json | 1 - custom_components/multimatic/translations/es.json | 1 - custom_components/multimatic/translations/fr.json | 1 - custom_components/multimatic/translations/it.json | 1 - custom_components/multimatic/translations/ko.json | 1 - custom_components/multimatic/translations/lb.json | 1 - custom_components/multimatic/translations/nl.json | 1 - custom_components/multimatic/translations/nn.json | 1 - custom_components/multimatic/translations/no.json | 1 - custom_components/multimatic/translations/pl.json | 1 - custom_components/multimatic/translations/pt-BR.json | 1 - custom_components/multimatic/translations/pt.json | 1 - custom_components/multimatic/translations/ru.json | 1 - custom_components/multimatic/translations/sl.json | 1 - custom_components/multimatic/translations/zh-Hant.json | 1 - 23 files changed, 4 insertions(+), 25 deletions(-) diff --git a/custom_components/multimatic/__init__.py b/custom_components/multimatic/__init__.py index 6a1e249..56c12b2 100644 --- a/custom_components/multimatic/__init__.py +++ b/custom_components/multimatic/__init__.py @@ -52,7 +52,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry): ) hass.data[DOMAIN][entry.unique_id][COORDINATORS][coord[0]] = m_coord _LOGGER.debug("Adding %s coordinator", m_coord.name) - await m_coord.async_config_entry_first_refresh() + await m_coord.async_refresh() for platform in PLATFORMS: hass.async_create_task( @@ -94,10 +94,10 @@ async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry): """Unload a config entry.""" unload_ok = all( await asyncio.gather( - *[ + *( hass.config_entries.async_forward_entry_unload(entry, component) for component in PLATFORMS - ] + ) ) ) if unload_ok: diff --git a/custom_components/multimatic/manifest.json b/custom_components/multimatic/manifest.json index 77f3e29..0c36794 100644 --- a/custom_components/multimatic/manifest.json +++ b/custom_components/multimatic/manifest.json @@ -14,6 +14,6 @@ "codeowners": [ "@thomasgermain" ], - "version": "1.7.0", + "version": "1.7.1", "iot_class": "cloud_polling" } diff --git a/custom_components/multimatic/strings.json b/custom_components/multimatic/strings.json index 5dee176..8ded63e 100644 --- a/custom_components/multimatic/strings.json +++ b/custom_components/multimatic/strings.json @@ -1,5 +1,4 @@ { - "title": "Multimatic", "config": { "step": { "user": { diff --git a/custom_components/multimatic/translations/bg.json b/custom_components/multimatic/translations/bg.json index 3d56273..b7b2525 100644 --- a/custom_components/multimatic/translations/bg.json +++ b/custom_components/multimatic/translations/bg.json @@ -1,5 +1,4 @@ { - "title": "Multimatic", "config": { "step": { "user": { diff --git a/custom_components/multimatic/translations/ca.json b/custom_components/multimatic/translations/ca.json index 3d56273..b7b2525 100644 --- a/custom_components/multimatic/translations/ca.json +++ b/custom_components/multimatic/translations/ca.json @@ -1,5 +1,4 @@ { - "title": "Multimatic", "config": { "step": { "user": { diff --git a/custom_components/multimatic/translations/cs.json b/custom_components/multimatic/translations/cs.json index 3d56273..b7b2525 100644 --- a/custom_components/multimatic/translations/cs.json +++ b/custom_components/multimatic/translations/cs.json @@ -1,5 +1,4 @@ { - "title": "Multimatic", "config": { "step": { "user": { diff --git a/custom_components/multimatic/translations/da.json b/custom_components/multimatic/translations/da.json index 3d56273..b7b2525 100644 --- a/custom_components/multimatic/translations/da.json +++ b/custom_components/multimatic/translations/da.json @@ -1,5 +1,4 @@ { - "title": "Multimatic", "config": { "step": { "user": { diff --git a/custom_components/multimatic/translations/de.json b/custom_components/multimatic/translations/de.json index 3d56273..b7b2525 100644 --- a/custom_components/multimatic/translations/de.json +++ b/custom_components/multimatic/translations/de.json @@ -1,5 +1,4 @@ { - "title": "Multimatic", "config": { "step": { "user": { diff --git a/custom_components/multimatic/translations/en.json b/custom_components/multimatic/translations/en.json index 3d56273..b7b2525 100644 --- a/custom_components/multimatic/translations/en.json +++ b/custom_components/multimatic/translations/en.json @@ -1,5 +1,4 @@ { - "title": "Multimatic", "config": { "step": { "user": { diff --git a/custom_components/multimatic/translations/es.json b/custom_components/multimatic/translations/es.json index 3d56273..b7b2525 100644 --- a/custom_components/multimatic/translations/es.json +++ b/custom_components/multimatic/translations/es.json @@ -1,5 +1,4 @@ { - "title": "Multimatic", "config": { "step": { "user": { diff --git a/custom_components/multimatic/translations/fr.json b/custom_components/multimatic/translations/fr.json index 8eab876..ae92124 100644 --- a/custom_components/multimatic/translations/fr.json +++ b/custom_components/multimatic/translations/fr.json @@ -1,5 +1,4 @@ { - "title": "Multimatic", "config": { "step": { "user": { diff --git a/custom_components/multimatic/translations/it.json b/custom_components/multimatic/translations/it.json index 3d56273..b7b2525 100644 --- a/custom_components/multimatic/translations/it.json +++ b/custom_components/multimatic/translations/it.json @@ -1,5 +1,4 @@ { - "title": "Multimatic", "config": { "step": { "user": { diff --git a/custom_components/multimatic/translations/ko.json b/custom_components/multimatic/translations/ko.json index 3d56273..b7b2525 100644 --- a/custom_components/multimatic/translations/ko.json +++ b/custom_components/multimatic/translations/ko.json @@ -1,5 +1,4 @@ { - "title": "Multimatic", "config": { "step": { "user": { diff --git a/custom_components/multimatic/translations/lb.json b/custom_components/multimatic/translations/lb.json index 3d56273..b7b2525 100644 --- a/custom_components/multimatic/translations/lb.json +++ b/custom_components/multimatic/translations/lb.json @@ -1,5 +1,4 @@ { - "title": "Multimatic", "config": { "step": { "user": { diff --git a/custom_components/multimatic/translations/nl.json b/custom_components/multimatic/translations/nl.json index 3d56273..b7b2525 100644 --- a/custom_components/multimatic/translations/nl.json +++ b/custom_components/multimatic/translations/nl.json @@ -1,5 +1,4 @@ { - "title": "Multimatic", "config": { "step": { "user": { diff --git a/custom_components/multimatic/translations/nn.json b/custom_components/multimatic/translations/nn.json index 3d56273..b7b2525 100644 --- a/custom_components/multimatic/translations/nn.json +++ b/custom_components/multimatic/translations/nn.json @@ -1,5 +1,4 @@ { - "title": "Multimatic", "config": { "step": { "user": { diff --git a/custom_components/multimatic/translations/no.json b/custom_components/multimatic/translations/no.json index 3d56273..b7b2525 100644 --- a/custom_components/multimatic/translations/no.json +++ b/custom_components/multimatic/translations/no.json @@ -1,5 +1,4 @@ { - "title": "Multimatic", "config": { "step": { "user": { diff --git a/custom_components/multimatic/translations/pl.json b/custom_components/multimatic/translations/pl.json index 3feddd4..cb08e5b 100644 --- a/custom_components/multimatic/translations/pl.json +++ b/custom_components/multimatic/translations/pl.json @@ -1,5 +1,4 @@ { - "title": "Multimatic", "config": { "step": { "user": { diff --git a/custom_components/multimatic/translations/pt-BR.json b/custom_components/multimatic/translations/pt-BR.json index 3d56273..b7b2525 100644 --- a/custom_components/multimatic/translations/pt-BR.json +++ b/custom_components/multimatic/translations/pt-BR.json @@ -1,5 +1,4 @@ { - "title": "Multimatic", "config": { "step": { "user": { diff --git a/custom_components/multimatic/translations/pt.json b/custom_components/multimatic/translations/pt.json index 3d56273..b7b2525 100644 --- a/custom_components/multimatic/translations/pt.json +++ b/custom_components/multimatic/translations/pt.json @@ -1,5 +1,4 @@ { - "title": "Multimatic", "config": { "step": { "user": { diff --git a/custom_components/multimatic/translations/ru.json b/custom_components/multimatic/translations/ru.json index 3d56273..b7b2525 100644 --- a/custom_components/multimatic/translations/ru.json +++ b/custom_components/multimatic/translations/ru.json @@ -1,5 +1,4 @@ { - "title": "Multimatic", "config": { "step": { "user": { diff --git a/custom_components/multimatic/translations/sl.json b/custom_components/multimatic/translations/sl.json index 3d56273..b7b2525 100644 --- a/custom_components/multimatic/translations/sl.json +++ b/custom_components/multimatic/translations/sl.json @@ -1,5 +1,4 @@ { - "title": "Multimatic", "config": { "step": { "user": { diff --git a/custom_components/multimatic/translations/zh-Hant.json b/custom_components/multimatic/translations/zh-Hant.json index 3d56273..b7b2525 100644 --- a/custom_components/multimatic/translations/zh-Hant.json +++ b/custom_components/multimatic/translations/zh-Hant.json @@ -1,5 +1,4 @@ { - "title": "Multimatic", "config": { "step": { "user": {