From 0f1b0c1e639639a9801f6d0d5c859de55e9e1d56 Mon Sep 17 00:00:00 2001 From: yarafie <88841013+yarafie@users.noreply.github.com> Date: Thu, 7 Sep 2023 18:57:11 +0300 Subject: [PATCH 1/8] Update cover.py to fix for HA 2023.9.0 Update cover.py to fix for HA 2023.9.0 which was exhibited by the following errors/warnings in HA logs 1. config entry: device info must include at least one of identifiers or connections 2. Entity None is implicitly using device name by not setting its name --- custom_components/remootio/cover.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/custom_components/remootio/cover.py b/custom_components/remootio/cover.py index bc6a852..bf973bd 100644 --- a/custom_components/remootio/cover.py +++ b/custom_components/remootio/cover.py @@ -51,6 +51,7 @@ async def async_setup_entry( class RemootioCover(cover.CoverEntity): """Cover entity which represents an Remootio device controlled garage door or gate.""" + _attr_name = None _remootio_client: RemootioClient _attr_has_entity_name = True _attr_should_poll = False @@ -70,6 +71,7 @@ def __init__( self._attr_device_info = DeviceInfo( name=name, manufacturer="Assemblabs Ltd", + identifiers={(DOMAIN, self._attr_unique_id)}, ) async def async_added_to_hass(self) -> None: From 74d63085e47dc77fa1ec47988276081b2777a584 Mon Sep 17 00:00:00 2001 From: yarafie <88841013+yarafie@users.noreply.github.com> Date: Thu, 7 Sep 2023 19:42:57 +0300 Subject: [PATCH 2/8] Update manifest.json to point to my own aioremootio Update manifest.json to point to my own aioremootio --- custom_components/remootio/manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/remootio/manifest.json b/custom_components/remootio/manifest.json index 86626d7..f58b986 100644 --- a/custom_components/remootio/manifest.json +++ b/custom_components/remootio/manifest.json @@ -5,7 +5,7 @@ "config_flow": true, "documentation": "https://www.home-assistant.io/integrations/remootio", "version": "1.4", - "requirements": ["aioremootio==1.0.0a17"], + "requirements": ["aioremootio @ git+https://github.com/yarafie/aioremootio.git"], "ssdp": [], "homekit": {}, "dependencies": [], From 48d338ca563c9dbc44309c4751198c69ba3574b4 Mon Sep 17 00:00:00 2001 From: yarafie <88841013+yarafie@users.noreply.github.com> Date: Mon, 22 Jan 2024 20:47:05 +0300 Subject: [PATCH 3/8] Update cover.py to remove deprecated constants SUPPORT_* Update cover.py to remove deprecated constants SUPPORT_* as per HA Warnings below 2024-01-22 19:15:53.368 WARNING (MainThread) [homeassistant.components.cover] SUPPORT_OPEN was used from remootio, this is a deprecated constant which will be removed in HA Core 2025.1. Use CoverEntityFeature.OPEN instead, please report it to the author of the 'remootio' custom integration 2024-01-22 19:15:53.370 WARNING (MainThread) [homeassistant.components.cover] SUPPORT_CLOSE was used from remootio, this is a deprecated constant which will be removed in HA Core 2025.1. Use CoverEntityFeature.CLOSE instead, please report it to the author of the 'remootio' custom integration 2024-01-22 19:15:53.406 WARNING (MainThread) [homeassistant.helpers.entity] Entity None () is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use , please report it to the author of the 'remootio' custom integration and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation --- custom_components/remootio/cover.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/remootio/cover.py b/custom_components/remootio/cover.py index bf973bd..2c028ba 100644 --- a/custom_components/remootio/cover.py +++ b/custom_components/remootio/cover.py @@ -55,7 +55,7 @@ class RemootioCover(cover.CoverEntity): _remootio_client: RemootioClient _attr_has_entity_name = True _attr_should_poll = False - _attr_supported_features = cover.SUPPORT_OPEN | cover.SUPPORT_CLOSE + _attr_supported_features = cover.CoverEntityFeature.OPEN | cover.CoverEntityFeature.CLOSE def __init__( self, unique_id: str, From 7cf4cdafbbd7c1855c281b01483d8145534a6557 Mon Sep 17 00:00:00 2001 From: yarafie <88841013+yarafie@users.noreply.github.com> Date: Fri, 26 Jan 2024 12:01:30 +0300 Subject: [PATCH 4/8] Update manifest.json Justed uped version and added to author --- custom_components/remootio/manifest.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/custom_components/remootio/manifest.json b/custom_components/remootio/manifest.json index f58b986..114b3d1 100644 --- a/custom_components/remootio/manifest.json +++ b/custom_components/remootio/manifest.json @@ -4,11 +4,11 @@ "integration_type": "device", "config_flow": true, "documentation": "https://www.home-assistant.io/integrations/remootio", - "version": "1.4", + "version": "1.4.2", "requirements": ["aioremootio @ git+https://github.com/yarafie/aioremootio.git"], "ssdp": [], "homekit": {}, "dependencies": [], - "codeowners": ["@ivgg-me"], + "codeowners": ["@ivgg-me modified by @yarafie"], "iot_class": "local_push" } From 36da28196d7d30513f328a32849a3d5a8cb5e7a9 Mon Sep 17 00:00:00 2001 From: yarafie <88841013+yarafie@users.noreply.github.com> Date: Fri, 26 Jan 2024 12:06:21 +0300 Subject: [PATCH 5/8] Update manifest.json --- custom_components/remootio/manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/remootio/manifest.json b/custom_components/remootio/manifest.json index 114b3d1..dcd8e62 100644 --- a/custom_components/remootio/manifest.json +++ b/custom_components/remootio/manifest.json @@ -9,6 +9,6 @@ "ssdp": [], "homekit": {}, "dependencies": [], - "codeowners": ["@ivgg-me modified by @yarafie"], + "codeowners": ["@yarafie original by @ivgg-me"], "iot_class": "local_push" } From 77ae7e3c36d5d61d7aa66a1ec3d75e97b70f4fb8 Mon Sep 17 00:00:00 2001 From: yarafie <88841013+yarafie@users.noreply.github.com> Date: Fri, 26 Jan 2024 12:14:42 +0300 Subject: [PATCH 6/8] Update manifest.json --- custom_components/remootio/manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/remootio/manifest.json b/custom_components/remootio/manifest.json index dcd8e62..3b3e46d 100644 --- a/custom_components/remootio/manifest.json +++ b/custom_components/remootio/manifest.json @@ -9,6 +9,6 @@ "ssdp": [], "homekit": {}, "dependencies": [], - "codeowners": ["@yarafie original by @ivgg-me"], + "codeowners": ["@yarafie","@sam43434","@ivgg-me"], "iot_class": "local_push" } From 8cf7af820b6358156394fb805f1ccd9060eefd3f Mon Sep 17 00:00:00 2001 From: yarafie <88841013+yarafie@users.noreply.github.com> Date: Thu, 3 Oct 2024 10:58:44 +0300 Subject: [PATCH 7/8] Update manifest.json to add issue_tracker Update manifest.json to add issue_tracker --- custom_components/remootio/manifest.json | 1 + 1 file changed, 1 insertion(+) diff --git a/custom_components/remootio/manifest.json b/custom_components/remootio/manifest.json index 3b3e46d..beb5be9 100644 --- a/custom_components/remootio/manifest.json +++ b/custom_components/remootio/manifest.json @@ -6,6 +6,7 @@ "documentation": "https://www.home-assistant.io/integrations/remootio", "version": "1.4.2", "requirements": ["aioremootio @ git+https://github.com/yarafie/aioremootio.git"], + "issue_tracker": "https://github.com/yarafie/remootio/issues", "ssdp": [], "homekit": {}, "dependencies": [], From 884a5d50af69366cf52709c45ce13497ddbac2a1 Mon Sep 17 00:00:00 2001 From: yarafie <88841013+yarafie@users.noreply.github.com> Date: Thu, 3 Oct 2024 11:01:39 +0300 Subject: [PATCH 8/8] Version 1.4.3 --- custom_components/remootio/manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/remootio/manifest.json b/custom_components/remootio/manifest.json index beb5be9..ae49c11 100644 --- a/custom_components/remootio/manifest.json +++ b/custom_components/remootio/manifest.json @@ -4,7 +4,7 @@ "integration_type": "device", "config_flow": true, "documentation": "https://www.home-assistant.io/integrations/remootio", - "version": "1.4.2", + "version": "1.4.3", "requirements": ["aioremootio @ git+https://github.com/yarafie/aioremootio.git"], "issue_tracker": "https://github.com/yarafie/remootio/issues", "ssdp": [],