mirror of
https://github.com/home-assistant/core.git
synced 2026-05-08 17:49:37 +01:00
2a965a6e44
Co-authored-by: J. Nick Koston <nick@koston.org>
12 lines
225 B
Python
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("//.*:.*@")
|