Commit Graph

10 Commits

Author SHA1 Message Date
Robert Resch bb90c1f168 Fix multilevel reference translations (#102338) 2023-10-20 08:12:53 +02:00
Robert Resch 952a17532f Remove NONE_SENTINEL in favor of optional select in sql (#101309) 2023-10-11 17:38:29 +02:00
Miguel Camba 38111141f9 Add new device class: PH (potential hydrogen) (#95928) 2023-07-23 18:49:10 +02:00
dougiteixeira 4b1d096e6b Add device_class and state_class in config flow for SQL (#95020)
* Add device_class and state_class in config flow for SQL

* Update when selected NONE_SENTINEL

* Add tests

* Use SensorDeviceClass and SensorStateClass in tests

* Add volatile_organic_compounds_parts in strings selector

* Add test_attributes_from_entry_config

* Remove test_attributes_from_entry_config and complement test_device_state_class

* Add test_attributes_from_entry_config in test_sensor.py
2023-07-08 21:00:22 +02:00
G Johansson c3e22cfa63 SQL strings update db_url (#91537) 2023-04-17 13:37:27 +02:00
dougiteixeira dc03a5c81e Fix error for when column does not exist in query to SQL (#91166)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-04-15 12:54:56 -10:00
J. Nick Koston 53d7e33607 Raise an issue for legacy SQL queries that will cause full table scans (#90971)
* Raise an issue for SQL queries that will cause full table scans

* Raise an issue for SQL queries that will cause full table scans

* Raise an issue for SQL queries that will cause full table scans

* Raise an issue for SQL queries that will cause full table scans

* Update homeassistant/components/sql/sensor.py

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>

* coverage

---------

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2023-04-07 22:32:36 -04:00
G Johansson a746d7c1d7 Improve code quality in sql integration (#71705) 2022-05-12 19:40:00 -04:00
G Johansson c90eb4d6b4 Fix sql integration issues 5.0 beta (#71063)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-04-29 10:00:44 -07:00
G Johansson 472ffd3bc6 Implement config flow for SQL integration (#68700) 2022-04-24 08:50:32 -10:00