1
0
mirror of https://github.com/home-assistant/core.git synced 2025-05-04 14:09:16 +00:00
G Johansson 2a965a6e44
SQL reintroduce yaml support ()
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-01-07 18:14:36 -10:00

12 lines
225 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("//.*:.*@")