mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 20:57:21 +00:00
Fix Insteon thermostats and reduce logging (#71179)
* Bump pyinsteon to 1.1.0 * Load modem aldb if read write mode is unkwown * Correct reference to read_write_mode
This commit is contained in:
parent
a74f035ae7
commit
5e4e7ed152
@ -4,6 +4,7 @@ from contextlib import suppress
|
||||
import logging
|
||||
|
||||
from pyinsteon import async_close, async_connect, devices
|
||||
from pyinsteon.constants import ReadWriteMode
|
||||
|
||||
from homeassistant.config_entries import SOURCE_IMPORT, ConfigEntry
|
||||
from homeassistant.const import CONF_PLATFORM, EVENT_HOMEASSISTANT_STOP
|
||||
@ -48,7 +49,8 @@ async def async_get_device_config(hass, config_entry):
|
||||
with suppress(AttributeError):
|
||||
await devices[address].async_status()
|
||||
|
||||
await devices.async_load(id_devices=1)
|
||||
load_aldb = devices.modem.aldb.read_write_mode == ReadWriteMode.UNKNOWN
|
||||
await devices.async_load(id_devices=1, load_modem_aldb=load_aldb)
|
||||
for addr in devices:
|
||||
device = devices[addr]
|
||||
flags = True
|
||||
|
@ -4,7 +4,7 @@
|
||||
"documentation": "https://www.home-assistant.io/integrations/insteon",
|
||||
"dependencies": ["http", "websocket_api"],
|
||||
"requirements": [
|
||||
"pyinsteon==1.1.0b3",
|
||||
"pyinsteon==1.1.0",
|
||||
"insteon-frontend-home-assistant==0.1.0"
|
||||
],
|
||||
"codeowners": ["@teharris1"],
|
||||
|
@ -1550,7 +1550,7 @@ pyialarm==1.9.0
|
||||
pyicloud==1.0.0
|
||||
|
||||
# homeassistant.components.insteon
|
||||
pyinsteon==1.1.0b3
|
||||
pyinsteon==1.1.0
|
||||
|
||||
# homeassistant.components.intesishome
|
||||
pyintesishome==1.7.6
|
||||
|
@ -1032,7 +1032,7 @@ pyialarm==1.9.0
|
||||
pyicloud==1.0.0
|
||||
|
||||
# homeassistant.components.insteon
|
||||
pyinsteon==1.1.0b3
|
||||
pyinsteon==1.1.0
|
||||
|
||||
# homeassistant.components.ipma
|
||||
pyipma==2.0.5
|
||||
|
Loading…
x
Reference in New Issue
Block a user