From 8254a643d24ea4fa0372649c4124e3ee4cce0695 Mon Sep 17 00:00:00 2001 From: Joost Lekkerkerker Date: Fri, 20 Sep 2024 16:26:41 +0200 Subject: [PATCH] Make geniushub platforms a list (#126320) --- homeassistant/components/geniushub/__init__.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/homeassistant/components/geniushub/__init__.py b/homeassistant/components/geniushub/__init__.py index 0609b675504..d750282b4f1 100644 --- a/homeassistant/components/geniushub/__init__.py +++ b/homeassistant/components/geniushub/__init__.py @@ -91,13 +91,13 @@ SET_ZONE_OVERRIDE_SCHEMA = vol.Schema( } ) -PLATFORMS = ( - Platform.CLIMATE, - Platform.WATER_HEATER, - Platform.SENSOR, +PLATFORMS = [ Platform.BINARY_SENSOR, + Platform.CLIMATE, + Platform.SENSOR, Platform.SWITCH, -) + Platform.WATER_HEATER, +] async def _async_import(hass: HomeAssistant, base_config: ConfigType) -> None: