mirror of
https://github.com/home-assistant/core.git
synced 2025-11-08 02:19:31 +00:00
Implement config flow for SQL integration (#68700)
This commit is contained in:
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("//.*:.*@")
|
||||
Reference in New Issue
Block a user