This commit is contained in:
Amazed 2022-01-03 21:14:02 +01:00
parent 4dbfcd82fc
commit b27447e104
2 changed files with 2 additions and 5 deletions

View File

@ -1,14 +1,11 @@
"""The SNCF integration."""
from __future__ import annotations
from homeassistant.config_entries import ConfigEntry
from homeassistant.core import HomeAssistant
from .const import DOMAIN
# TODO List the platforms that you want to support.
# For your initial PR, limit it to 1 platform.
PLATFORMS: list[str] = ["light"]
PLATFORMS: list[str] = ["sensor"]
async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:

View File

@ -8,7 +8,7 @@ from homeassistant import config_entries
from homeassistant.core import HomeAssistant
from homeassistant.data_entry_flow import FlowResult
from homeassistant.exceptions import HomeAssistantError
from sncf import SNCF
from .sncf import SNCF
from .const import DOMAIN
_LOGGER = logging.getLogger(__name__)