mirror of
https://github.com/home-assistant/core.git
synced 2025-04-27 10:47:51 +00:00
13 lines
226 B
Python
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("//.*:.*@")
|