Implement config flow for SQL integration (#68700)
This commit is contained in:
parent
776565c23f
commit
472ffd3bc6
13 changed files with 962 additions and 208 deletions
12
homeassistant/components/sql/const.py
Normal file
12
homeassistant/components/sql/const.py
Normal file
|
@ -0,0 +1,12 @@
|
|||
"""Adds constants for SQL integration."""
|
||||
import re
|
||||
|
||||
from homeassistant.const import Platform
|
||||
|
||||
DOMAIN = "sql"
|
||||
PLATFORMS = [Platform.SENSOR]
|
||||
|
||||
CONF_COLUMN_NAME = "column"
|
||||
CONF_QUERIES = "queries"
|
||||
CONF_QUERY = "query"
|
||||
DB_URL_RE = re.compile("//.*:.*@")
|
Loading…
Add table
Add a link
Reference in a new issue