87 Commits

Author SHA1 Message Date
G Johansson
76006ce9d7
Allow empty db in SQL options flow (#77777) 2022-09-05 14:50:47 -05:00
GitHub Action
ff3fd4c29d [ci skip] Translation update 2022-08-16 00:30:51 +00:00
GitHub Action
6e03b12a93 [ci skip] Translation update 2022-08-13 00:25:00 +00:00
GitHub Action
519d478d61 [ci skip] Translation update 2022-08-11 00:26:23 +00:00
Franck Nijhof
4e3db5bb5c
Update sqlalchemy to 1.4.40 (#76505) 2022-08-09 09:35:22 -04:00
GitHub Action
cb46441b74 [ci skip] Translation update 2022-08-05 00:28:51 +00:00
GitHub Action
81e3ef03f7 [ci skip] Translation update 2022-08-02 00:27:42 +00:00
GitHub Action
377f56ff5f [ci skip] Translation update 2022-07-31 00:25:44 +00:00
GitHub Action
c4ad6d46ae [ci skip] Translation update 2022-07-30 00:22:48 +00:00
GitHub Action
79a0940932 [ci skip] Translation update 2022-07-17 00:25:56 +00:00
G Johansson
09f37fc522
Migrate SQL to new entity naming style (#75203) 2022-07-14 21:46:26 +02:00
J. Nick Koston
cd03c49fc2
Wait for config entry platform forwards (#73806) 2022-07-09 17:27:42 +02:00
J. Nick Koston
3d59088a62
Bump sqlalchemy to 1.4.38 (#73916)
Changes: https://docs.sqlalchemy.org/en/14/changelog/changelog_14.html#change-1.4.38
2022-06-23 14:13:42 -04:00
GitHub Action
7746715590 [ci skip] Translation update 2022-06-02 00:27:51 +00:00
J. Nick Koston
e874a04319
Bump sqlalchemy to 1.4.37 (#72809)
Fixes a bug where reconnects might fail with MySQL 8.0.24+

Changelog: https://docs.sqlalchemy.org/en/14/changelog/changelog_14.html#change-1.4.37
2022-06-01 10:56:05 +02:00
GitHub Action
b6b72f50ec [ci skip] Translation update 2022-05-22 00:22:43 +00:00
GitHub Action
3a13ffcf13 [ci skip] Translation update 2022-05-19 00:26:11 +00:00
GitHub Action
37f81b261d [ci skip] Translation update 2022-05-16 00:24:28 +00:00
GitHub Action
c7e8428daa [ci skip] Translation update 2022-05-13 00:26:47 +00:00
G Johansson
a746d7c1d7
Improve code quality in sql integration (#71705) 2022-05-12 19:40:00 -04:00
J. Nick Koston
18bdc70185
Update sql to prepare for sqlalchemy 2.0 (#71532)
* Update sql to prepare for sqlalchemy 2.0

* config flow as well
2022-05-11 20:45:47 -07:00
GitHub Action
3d2b0a17ce [ci skip] Translation update 2022-05-11 00:22:31 +00:00
GitHub Action
3de7ffde54 [ci skip] Translation update 2022-05-10 00:23:19 +00:00
GitHub Action
12065ad58e [ci skip] Translation update 2022-05-08 00:21:41 +00:00
J. Nick Koston
3883bad70a
Fix display of multiline queries in sql config flow (#71450) 2022-05-07 14:19:01 -07:00
J. Nick Koston
523828c81e
Ensure sql sensors keep working after using the options flow (#71453)
* Ensure sql sensors keep working after using the options flow

Fixes
```
2022-05-06 16:17:57 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up sql platform for sensor
Traceback (most recent call last):
  File "/Users/bdraco/home-assistant/homeassistant/helpers/entity_platform.py", line 249, in _async_setup_platform
    await asyncio.shield(task)
  File "/Users/bdraco/home-assistant/homeassistant/components/sql/sensor.py", line 97, in async_setup_entry
    name: str = entry.options[CONF_NAME]
KeyError: name
```

* ensure saving the options flow fixes the broken config entry

* ensure options changes take effect right away

* Add cover to validate the reload
2022-05-07 14:18:40 -07:00
GitHub Action
07706fa62a [ci skip] Translation update 2022-05-06 00:22:16 +00:00
GitHub Action
2b3fc97020 [ci skip] Translation update 2022-05-05 00:22:23 +00:00
GitHub Action
509dd657b8 [ci skip] Translation update 2022-05-04 00:22:09 +00:00
GitHub Action
c594de25f7 [ci skip] Translation update 2022-05-03 00:23:56 +00:00
GitHub Action
9b10658d01 [ci skip] Translation update 2022-05-02 00:22:04 +00:00
G Johansson
5b25b94a22
Fix template error in sql (#71169) 2022-05-01 23:04:03 +03:00
GitHub Action
ba386b5841 [ci skip] Translation update 2022-05-01 00:28:25 +00:00
GitHub Action
d01666f3a2 [ci skip] Translation update 2022-04-30 00:25:25 +00: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
J. Nick Koston
37384f7eb3
Bump sqlalchemy to 1.4.36 (#71039) 2022-04-28 21:32:46 -07:00
GitHub Action
348016dbbf [ci skip] Translation update 2022-04-29 00:22:21 +00:00
G Johansson
472ffd3bc6
Implement config flow for SQL integration (#68700) 2022-04-24 08:50:32 -10:00
J. Nick Koston
23b84449e6
Bump sqlalchemy to 1.4.35 (#69534)
Changes: https://docs.sqlalchemy.org/en/14/changelog/changelog_14.html#change-1.4.35
2022-04-07 14:59:23 +03:00
J. Nick Koston
f9a47f0f9e
Bump sqlalchemy to 1.4.34 (#69202)
Changelog: https://github.com/sqlalchemy/sqlalchemy/releases/tag/rel_1_4_34
https://github.com/sqlalchemy/sqlalchemy/releases/tag/rel_1_4_33
2022-04-03 18:39:07 +03:00
Franck Nijhof
36acb09cae
Update sqlalchemy to 1.4.32 (#68075) 2022-03-12 22:52:47 -10:00
G Johansson
3f9a6bbaa7
Fix sql false warning (#67614) 2022-03-04 08:20:10 -10:00
Paulus Schoutsen
fff74c66ae
Fix SQL sensor (#67144) 2022-02-23 16:21:24 -08:00
G Johansson
8da150bd71
Improve code quality sql (#65321) 2022-02-12 08:13:01 -06:00
Diogo Gomes
d5d8eefded
Case sensitive SQL queries checks (#62752) 2022-01-07 17:19:30 +01:00
epenet
992f9c3c6c
Add setup type hints [s] (part 2) (#63479)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-05 17:34:18 +01:00
J. Nick Koston
18e822b7b6
Bump sqlalchemy to 1.4.27 (#60383) 2021-11-25 19:55:17 -08:00
J. Nick Koston
751098c220
Bump sqlalchemy to 1.4.26 (#59527) 2021-11-10 20:01:59 -08:00
Marc Mueller
f149bef9f3
Use assignment expressions 18 (#57967) 2021-10-18 18:36:35 +02:00
J. Nick Koston
aa7c72a8b5
Bump sqlalchemy to 1.4.23 (#54980)
- Changelog: https://docs.sqlalchemy.org/en/14/changelog/changelog_14.html#change-1.4.23
2021-08-21 13:00:39 -04:00