Home Assistant Unofficial Reference
2024.12.1
const.py
Go to the documentation of this file.
1
"""Adds constants for SQL integration."""
2
3
import
re
4
5
from
homeassistant.const
import
Platform
6
7
DOMAIN =
"sql"
8
PLATFORMS = [Platform.SENSOR]
9
10
CONF_COLUMN_NAME =
"column"
11
CONF_QUERY =
"query"
12
DB_URL_RE = re.compile(
"//.*:.*@"
)
homeassistant.const
Definition:
const.py:1
core
homeassistant
components
sql
const.py
Generated by
1.9.1