diff --git a/homeassistant/components/comfoconnect/__init__.py b/homeassistant/components/comfoconnect/__init__.py index 6f6f95e478a..9c9b4aad711 100644 --- a/homeassistant/components/comfoconnect/__init__.py +++ b/homeassistant/components/comfoconnect/__init__.py @@ -10,6 +10,7 @@ from homeassistant.const import ( CONF_PIN, CONF_TOKEN, EVENT_HOMEASSISTANT_STOP, + Platform, ) from homeassistant.core import HomeAssistant from homeassistant.helpers import discovery @@ -82,7 +83,7 @@ def setup(hass: HomeAssistant, config: ConfigType) -> bool: hass.bus.listen_once(EVENT_HOMEASSISTANT_STOP, _shutdown) # Load platforms - discovery.load_platform(hass, "fan", DOMAIN, {}, config) + discovery.load_platform(hass, Platform.FAN, DOMAIN, {}, config) return True