mirror of
https://github.com/home-assistant/core.git
synced 2025-04-26 02:07:54 +00:00
Force alias when importing humidifier PLATFORM_SCHEMA (#120526)
This commit is contained in:
parent
d589eaf440
commit
59ae297ccd
@ -12,7 +12,7 @@ from homeassistant.components.humidifier import (
|
|||||||
ATTR_HUMIDITY,
|
ATTR_HUMIDITY,
|
||||||
MODE_AWAY,
|
MODE_AWAY,
|
||||||
MODE_NORMAL,
|
MODE_NORMAL,
|
||||||
PLATFORM_SCHEMA,
|
PLATFORM_SCHEMA as HUMIDIFIER_PLATFORM_SCHEMA,
|
||||||
HumidifierAction,
|
HumidifierAction,
|
||||||
HumidifierDeviceClass,
|
HumidifierDeviceClass,
|
||||||
HumidifierEntity,
|
HumidifierEntity,
|
||||||
@ -72,7 +72,7 @@ _LOGGER = logging.getLogger(__name__)
|
|||||||
ATTR_SAVED_HUMIDITY = "saved_humidity"
|
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(
|
async def async_setup_platform(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user