mirror of
https://github.com/home-assistant/core.git
synced 2025-08-10 16:15:08 +02:00
Adjust comfoconnect
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user