1
0
mirror of https://github.com/home-assistant/core.git synced 2025-05-11 17:39:17 +00:00

13 lines
226 B
Python

"""Adds constants for SQL integration."""
import re
from homeassistant.const import Platform
DOMAIN = "sql"
PLATFORMS = [Platform.SENSOR]
CONF_COLUMN_NAME = "column"
CONF_QUERY = "query"
DB_URL_RE = re.compile("//.*:.*@")