diff --git a/custom_components/irm_kmi/__init__.py b/custom_components/irm_kmi/__init__.py index a4fbcd5..1d8ee32 100644 --- a/custom_components/irm_kmi/__init__.py +++ b/custom_components/irm_kmi/__init__.py @@ -22,6 +22,8 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: hass.data.setdefault(DOMAIN, {}) hass.data[DOMAIN][entry.entry_id] = coordinator = IrmKmiCoordinator(hass, entry) + # When integration is set up, set the logging level of the irm_kmi_api package to the same level to help debugging + logging.getLogger('irm_kmi_api').setLevel(_LOGGER.getEffectiveLevel()) try: # https://developers.home-assistant.io/docs/integration_fetching_data#coordinated-single-api-poll-for-data-for-all-entities await coordinator.async_config_entry_first_refresh() diff --git a/custom_components/irm_kmi/manifest.json b/custom_components/irm_kmi/manifest.json index c6e4236..eb9da79 100644 --- a/custom_components/irm_kmi/manifest.json +++ b/custom_components/irm_kmi/manifest.json @@ -9,7 +9,7 @@ "iot_class": "cloud_polling", "issue_tracker": "https://github.com/jdejaegh/irm-kmi-ha/issues", "requirements": [ - "irm-kmi-api>=0.1.3,<1.0.0" + "irm-kmi-api>=0.1.4,<1.0.0" ], "version": "0.2.32" } \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index 761f270..83d3693 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ aiohttp==3.11.13 homeassistant==2025.3.1 voluptuous==0.15.2 -irm-kmi-api>=0.1.3,<1.0.0 \ No newline at end of file +irm-kmi-api>=0.1.4,<1.0.0 \ No newline at end of file