diff --git a/custom_components/panasonic_cc/config_flow.py b/custom_components/panasonic_cc/config_flow.py index 8402645..05c39ae 100644 --- a/custom_components/panasonic_cc/config_flow.py +++ b/custom_components/panasonic_cc/config_flow.py @@ -46,7 +46,7 @@ async def _create_entry(self, username, password): """Register new entry.""" # Check if ip already is registered for entry in self._async_current_entries(): - if entry.data[KEY_DOMAIN] == PANASONIC_DOMAIN: + if entry.data.get(KEY_DOMAIN) == PANASONIC_DOMAIN: return self.async_abort(reason="already_configured") return self.async_create_entry(title="", data={ diff --git a/custom_components/panasonic_cc/manifest.json b/custom_components/panasonic_cc/manifest.json index 8e0388e..595ed91 100644 --- a/custom_components/panasonic_cc/manifest.json +++ b/custom_components/panasonic_cc/manifest.json @@ -10,6 +10,6 @@ "integration_type": "hub", "iot_class": "cloud_polling", "issue_tracker": "https://github.com/sockless-coding/panasonic_cc/issues", - "requirements": ["aiohttp","aio-panasonic-comfort-cloud==2025.5.1","aioaquarea==0.7.2"], + "requirements": ["aiohttp","aio-panasonic-comfort-cloud==2025.5.1","aioaquarea>=1.0.6"], "quality_scale": "silver" }