mirror of
https://github.com/home-assistant/core.git
synced 2025-07-28 15:47:12 +00:00
Fix compatibility issues with older pymelcloud version (#109757)
This commit is contained in:
parent
4119d20f87
commit
e399bebbcd
@ -22,7 +22,7 @@ from .const import DOMAIN
|
|||||||
|
|
||||||
_LOGGER = logging.getLogger(__name__)
|
_LOGGER = logging.getLogger(__name__)
|
||||||
|
|
||||||
MIN_TIME_BETWEEN_UPDATES = timedelta(minutes=5)
|
MIN_TIME_BETWEEN_UPDATES = timedelta(minutes=15)
|
||||||
|
|
||||||
PLATFORMS = [Platform.CLIMATE, Platform.SENSOR, Platform.WATER_HEATER]
|
PLATFORMS = [Platform.CLIMATE, Platform.SENSOR, Platform.WATER_HEATER]
|
||||||
|
|
||||||
@ -138,8 +138,7 @@ async def mel_devices_setup(
|
|||||||
all_devices = await get_devices(
|
all_devices = await get_devices(
|
||||||
token,
|
token,
|
||||||
session,
|
session,
|
||||||
user_update_interval=timedelta(minutes=30),
|
conf_update_interval=timedelta(minutes=30),
|
||||||
conf_update_interval=timedelta(minutes=15),
|
|
||||||
device_set_debounce=timedelta(seconds=2),
|
device_set_debounce=timedelta(seconds=2),
|
||||||
)
|
)
|
||||||
wrapped_devices: dict[str, list[MelCloudDevice]] = {}
|
wrapped_devices: dict[str, list[MelCloudDevice]] = {}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user