mirror of
https://github.com/jdejaegh/irm-kmi-ha.git
synced 2025-06-26 19:35:40 +02:00
Set debug level of irm-kmi-api to follow the integration
This commit is contained in:
parent
d0d542c3fe
commit
ef5d3ad126
3 changed files with 4 additions and 2 deletions
|
@ -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()
|
||||
|
|
|
@ -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"
|
||||
}
|
|
@ -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
|
||||
irm-kmi-api>=0.1.4,<1.0.0
|
Loading…
Add table
Reference in a new issue