Implement config flow for SQL integration (#68700)

This commit is contained in:
G Johansson 2022-04-24 20:50:32 +02:00 committed by GitHub
parent 776565c23f
commit 472ffd3bc6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 962 additions and 208 deletions

View 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("//.*:.*@")