Files
HomeAssistantVS/custom_components/spook/const.py
T

27 lines
633 B
Python

"""Spook - Your homie."""
import logging
from typing import Final
from homeassistant.const import Platform
DOMAIN: Final = "spook"
LOGGER = logging.getLogger(__package__)
# Asked for once, at the end of setting Spook up, and nowhere else.
NEWSLETTER_URL: Final = "https://frenck.dev/newsletter/"
REPOSITORY_URL: Final = "https://github.com/frenck/spook"
SPONSOR_URL: Final = "https://github.com/sponsors/frenck"
PLATFORMS: Final = [
Platform.BINARY_SENSOR,
Platform.BUTTON,
Platform.EVENT,
Platform.NUMBER,
Platform.SELECT,
Platform.SENSOR,
Platform.SWITCH,
Platform.TIME,
Platform.UPDATE,
]