From 3c809f724f40c730ce491e5c4324ec30952504d6 Mon Sep 17 00:00:00 2001 From: thomasgermain <12560542+thomasgermain@users.noreply.github.com> Date: Tue, 10 Aug 2021 15:02:03 +0200 Subject: [PATCH] Revert "release 1.7.1" This reverts 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, 25 insertions(+), 4 deletions(-) diff --git a/custom_components/multimatic/__init__.py b/custom_components/multimatic/__init__.py index 56c12b2..6a1e249 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_refresh() + await m_coord.async_config_entry_first_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 0c36794..77f3e29 100644 --- a/custom_components/multimatic/manifest.json +++ b/custom_components/multimatic/manifest.json @@ -14,6 +14,6 @@ "codeowners": [ "@thomasgermain" ], - "version": "1.7.1", + "version": "1.7.0", "iot_class": "cloud_polling" } diff --git a/custom_components/multimatic/strings.json b/custom_components/multimatic/strings.json index 8ded63e..5dee176 100644 --- a/custom_components/multimatic/strings.json +++ b/custom_components/multimatic/strings.json @@ -1,4 +1,5 @@ { + "title": "Multimatic", "config": { "step": { "user": { diff --git a/custom_components/multimatic/translations/bg.json b/custom_components/multimatic/translations/bg.json index b7b2525..3d56273 100644 --- a/custom_components/multimatic/translations/bg.json +++ b/custom_components/multimatic/translations/bg.json @@ -1,4 +1,5 @@ { + "title": "Multimatic", "config": { "step": { "user": { diff --git a/custom_components/multimatic/translations/ca.json b/custom_components/multimatic/translations/ca.json index b7b2525..3d56273 100644 --- a/custom_components/multimatic/translations/ca.json +++ b/custom_components/multimatic/translations/ca.json @@ -1,4 +1,5 @@ { + "title": "Multimatic", "config": { "step": { "user": { diff --git a/custom_components/multimatic/translations/cs.json b/custom_components/multimatic/translations/cs.json index b7b2525..3d56273 100644 --- a/custom_components/multimatic/translations/cs.json +++ b/custom_components/multimatic/translations/cs.json @@ -1,4 +1,5 @@ { + "title": "Multimatic", "config": { "step": { "user": { diff --git a/custom_components/multimatic/translations/da.json b/custom_components/multimatic/translations/da.json index b7b2525..3d56273 100644 --- a/custom_components/multimatic/translations/da.json +++ b/custom_components/multimatic/translations/da.json @@ -1,4 +1,5 @@ { + "title": "Multimatic", "config": { "step": { "user": { diff --git a/custom_components/multimatic/translations/de.json b/custom_components/multimatic/translations/de.json index b7b2525..3d56273 100644 --- a/custom_components/multimatic/translations/de.json +++ b/custom_components/multimatic/translations/de.json @@ -1,4 +1,5 @@ { + "title": "Multimatic", "config": { "step": { "user": { diff --git a/custom_components/multimatic/translations/en.json b/custom_components/multimatic/translations/en.json index b7b2525..3d56273 100644 --- a/custom_components/multimatic/translations/en.json +++ b/custom_components/multimatic/translations/en.json @@ -1,4 +1,5 @@ { + "title": "Multimatic", "config": { "step": { "user": { diff --git a/custom_components/multimatic/translations/es.json b/custom_components/multimatic/translations/es.json index b7b2525..3d56273 100644 --- a/custom_components/multimatic/translations/es.json +++ b/custom_components/multimatic/translations/es.json @@ -1,4 +1,5 @@ { + "title": "Multimatic", "config": { "step": { "user": { diff --git a/custom_components/multimatic/translations/fr.json b/custom_components/multimatic/translations/fr.json index ae92124..8eab876 100644 --- a/custom_components/multimatic/translations/fr.json +++ b/custom_components/multimatic/translations/fr.json @@ -1,4 +1,5 @@ { + "title": "Multimatic", "config": { "step": { "user": { diff --git a/custom_components/multimatic/translations/it.json b/custom_components/multimatic/translations/it.json index b7b2525..3d56273 100644 --- a/custom_components/multimatic/translations/it.json +++ b/custom_components/multimatic/translations/it.json @@ -1,4 +1,5 @@ { + "title": "Multimatic", "config": { "step": { "user": { diff --git a/custom_components/multimatic/translations/ko.json b/custom_components/multimatic/translations/ko.json index b7b2525..3d56273 100644 --- a/custom_components/multimatic/translations/ko.json +++ b/custom_components/multimatic/translations/ko.json @@ -1,4 +1,5 @@ { + "title": "Multimatic", "config": { "step": { "user": { diff --git a/custom_components/multimatic/translations/lb.json b/custom_components/multimatic/translations/lb.json index b7b2525..3d56273 100644 --- a/custom_components/multimatic/translations/lb.json +++ b/custom_components/multimatic/translations/lb.json @@ -1,4 +1,5 @@ { + "title": "Multimatic", "config": { "step": { "user": { diff --git a/custom_components/multimatic/translations/nl.json b/custom_components/multimatic/translations/nl.json index b7b2525..3d56273 100644 --- a/custom_components/multimatic/translations/nl.json +++ b/custom_components/multimatic/translations/nl.json @@ -1,4 +1,5 @@ { + "title": "Multimatic", "config": { "step": { "user": { diff --git a/custom_components/multimatic/translations/nn.json b/custom_components/multimatic/translations/nn.json index b7b2525..3d56273 100644 --- a/custom_components/multimatic/translations/nn.json +++ b/custom_components/multimatic/translations/nn.json @@ -1,4 +1,5 @@ { + "title": "Multimatic", "config": { "step": { "user": { diff --git a/custom_components/multimatic/translations/no.json b/custom_components/multimatic/translations/no.json index b7b2525..3d56273 100644 --- a/custom_components/multimatic/translations/no.json +++ b/custom_components/multimatic/translations/no.json @@ -1,4 +1,5 @@ { + "title": "Multimatic", "config": { "step": { "user": { diff --git a/custom_components/multimatic/translations/pl.json b/custom_components/multimatic/translations/pl.json index cb08e5b..3feddd4 100644 --- a/custom_components/multimatic/translations/pl.json +++ b/custom_components/multimatic/translations/pl.json @@ -1,4 +1,5 @@ { + "title": "Multimatic", "config": { "step": { "user": { diff --git a/custom_components/multimatic/translations/pt-BR.json b/custom_components/multimatic/translations/pt-BR.json index b7b2525..3d56273 100644 --- a/custom_components/multimatic/translations/pt-BR.json +++ b/custom_components/multimatic/translations/pt-BR.json @@ -1,4 +1,5 @@ { + "title": "Multimatic", "config": { "step": { "user": { diff --git a/custom_components/multimatic/translations/pt.json b/custom_components/multimatic/translations/pt.json index b7b2525..3d56273 100644 --- a/custom_components/multimatic/translations/pt.json +++ b/custom_components/multimatic/translations/pt.json @@ -1,4 +1,5 @@ { + "title": "Multimatic", "config": { "step": { "user": { diff --git a/custom_components/multimatic/translations/ru.json b/custom_components/multimatic/translations/ru.json index b7b2525..3d56273 100644 --- a/custom_components/multimatic/translations/ru.json +++ b/custom_components/multimatic/translations/ru.json @@ -1,4 +1,5 @@ { + "title": "Multimatic", "config": { "step": { "user": { diff --git a/custom_components/multimatic/translations/sl.json b/custom_components/multimatic/translations/sl.json index b7b2525..3d56273 100644 --- a/custom_components/multimatic/translations/sl.json +++ b/custom_components/multimatic/translations/sl.json @@ -1,4 +1,5 @@ { + "title": "Multimatic", "config": { "step": { "user": { diff --git a/custom_components/multimatic/translations/zh-Hant.json b/custom_components/multimatic/translations/zh-Hant.json index b7b2525..3d56273 100644 --- a/custom_components/multimatic/translations/zh-Hant.json +++ b/custom_components/multimatic/translations/zh-Hant.json @@ -1,4 +1,5 @@ { + "title": "Multimatic", "config": { "step": { "user": {