mirror of
https://github.com/home-assistant/core.git
synced 2025-07-25 22:27:07 +00:00

* Add query type validation independent of declaration position * Restore close sess * Separates invalid query and non-read-only query tests * Add more tests * Use the SQLParseError exception for queries that are not read-only * Add handling for multiple SQL queries. * Fix test * Clean ';' at the beginning of the SQL query * Clean ';' at the beginning of the SQL query - init * Query cleaning before storing * Query cleaning before setup sesensor plataform - YAML * Exception when the SQL query type is not detected * Cleaning * Cleaning * Fix typing in tests * Fix typing in tests * Add test for query = ';;' * Update homeassistant/components/sql/__init__.py Co-authored-by: G Johansson <goran.johansson@shiftit.se> * Update homeassistant/components/sql/__init__.py Co-authored-by: G Johansson <goran.johansson@shiftit.se> * Update __init__.py * Update config_flow.py * Clean query before storing --------- Co-authored-by: G Johansson <goran.johansson@shiftit.se>
10 lines
278 B
JSON
10 lines
278 B
JSON
{
|
|
"domain": "sql",
|
|
"name": "SQL",
|
|
"codeowners": ["@gjohansson-ST", "@dougiteixeira"],
|
|
"config_flow": true,
|
|
"documentation": "https://www.home-assistant.io/integrations/sql",
|
|
"iot_class": "local_polling",
|
|
"requirements": ["SQLAlchemy==2.0.23", "sqlparse==0.4.4"]
|
|
}
|