From 59ae297ccd1ce888fa7dc54a29328c160c5588ad Mon Sep 17 00:00:00 2001 From: epenet <6771947+epenet@users.noreply.github.com> Date: Wed, 26 Jun 2024 11:24:21 +0200 Subject: [PATCH] Force alias when importing humidifier PLATFORM_SCHEMA (#120526) --- homeassistant/components/generic_hygrostat/humidifier.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/homeassistant/components/generic_hygrostat/humidifier.py b/homeassistant/components/generic_hygrostat/humidifier.py index c22904a4caa..a1f9936fa33 100644 --- a/homeassistant/components/generic_hygrostat/humidifier.py +++ b/homeassistant/components/generic_hygrostat/humidifier.py @@ -12,7 +12,7 @@ from homeassistant.components.humidifier import ( ATTR_HUMIDITY, MODE_AWAY, MODE_NORMAL, - PLATFORM_SCHEMA, + PLATFORM_SCHEMA as HUMIDIFIER_PLATFORM_SCHEMA, HumidifierAction, HumidifierDeviceClass, HumidifierEntity, @@ -72,7 +72,7 @@ _LOGGER = logging.getLogger(__name__) ATTR_SAVED_HUMIDITY = "saved_humidity" -PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend(HYGROSTAT_SCHEMA.schema) +PLATFORM_SCHEMA = HUMIDIFIER_PLATFORM_SCHEMA.extend(HYGROSTAT_SCHEMA.schema) async def async_setup_platform(