Commit graph

60504 commits

Author SHA1 Message Date
Luke
9657567280 Bump oralb-ble to 0.17.4 (#87570)
closes undefined
2023-02-07 13:40:16 -05:00
Paulus Schoutsen
5bc49b1757 OpenAI: Ignore devices without a name (#87558)
Ignore devices without a name
2023-02-07 13:40:14 -05:00
J. Nick Koston
590bdc1f49 Optimize history.get_last_state_changes query (#87554)
fixes undefined
2023-02-07 13:40:13 -05:00
Michael Davie
bc01df6b52 Bump env_canada to 0.5.28 (#87509)
Co-authored-by: J. Nick Koston <nick@koston.org>
fixes undefined
2023-02-07 13:40:12 -05:00
Ben Corrado
7fd3f404de Add LD2410BLE support for new firmware version (#87507)
* Updated local_name to reflect the naming scheme in HLK firmware 2.01.23020209

* Adding generated bluetooth file.
2023-02-07 13:40:10 -05:00
rikroe
f59eb6c277 Bump bimmer_connected to 0.12.1 (#87506)
Co-authored-by: rikroe <rikroe@users.noreply.github.com>
fixes undefined
2023-02-07 13:40:09 -05:00
snapcase
08c23dd688 Bump jaraco.abode to 3.3.0 (#87498)
Fixes https://github.com/home-assistant/core/issues/86765
fixes undefined
2023-02-07 13:40:08 -05:00
Ernst Klamer
1a72b64024 Bump xiaomi-ble to 0.16.1 (#87496)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-02-07 13:40:07 -05:00
J. Nick Koston
8a257df59f Fix recorder run history during schema migration and startup (#87492)
Fix recorder run history during schema migration

RunHistory.get and RunHistory.current can be called before
RunHistory.start. We need to return a RecorderRuns object
with the recording_start time that will be used when start
it called to ensure history queries still work as expected.

fixes #87112
2023-02-07 13:40:05 -05:00
Maikel Punie
e30ea3e344 Add the correct loggers to velbus manifest.json (#87488) 2023-02-07 13:40:04 -05:00
Robert Hillis
423d8f0bca Disable uptime sensor by default in Unifi (#87484)
Disable Uptime sensor by default in Unifi
2023-02-07 13:40:03 -05:00
Michael
b2ccf2e87e Bump py-synologydsm-api to 2.1.4 (#87471)
fixes undefined
2023-02-07 13:40:02 -05:00
majuss
4a7aee4bde Bump lupupy to 0.2.7 (#87469) 2023-02-07 13:40:00 -05:00
Gregory Haynes
5b0c7321b5 Add missing name field to emulated_hue config (#87456)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-02-07 13:39:59 -05:00
J. Nick Koston
1df82f39c1 Speed up purge time with newer MariaDB versions (#87409)
* Speed up purge time with newer MariaDB versions

* fix

* document

* document

* document

* rename

* self review

* Update homeassistant/components/recorder/util.py

* fixes
2023-02-07 13:39:58 -05:00
Thomas Hollstegge
589ff54e63
Do not return cached values for entity states in emulated_hue (#87642)
* Do not return cached values for state and brightness

* Move building the uncached state dict behind a lru_cache (_build_entity_state_dict)

---------

Co-authored-by: J. Nick Koston <nick@koston.org>
2023-02-07 13:39:08 -05:00
J. Nick Koston
1170b36a82
Fix LD2410 BLE detection with passive scans (#87584) 2023-02-07 13:38:48 -05:00
Franck Nijhof
c25bff9389
Tweak Elgato tests (#87629) 2023-02-07 19:14:13 +01:00
epenet
3e09950dd6
Align postgresql with mariadb in CI (#87646)
Align postgresql with mariadb
2023-02-07 18:27:33 +01:00
epenet
a202588fd2
Add return type to json_loads (#85672)
* Add JSON type definitions

* Sample use

* Keep mutable for a follo-up PR (avoid dead code)

* Use list/dict

* Remove JsonObjectType

* Remove reference to Union

* Cleanup

* Improve rest

* Rename json_dict => json_data

* Add docstring

* Add type hint to json_loads

* Add cast

* Move type alias to json helpers

* Cleanup

* Create and use json_loads_object

* Make error more explicit and add tests

* Use JsonObjectType in conversation

* Remove quotes
2023-02-07 17:21:55 +01:00
Franck Nijhof
20b60d57f2
Add lru cache to loading fixtures in tests (#87634) 2023-02-07 16:50:13 +01:00
Erik Montnemery
720f51657d
Add CI job which runs recorder tests on PostgreSQL (#80614)
Co-authored-by: Franck Nijhof <git@frenck.dev>
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-02-07 09:46:14 -06:00
epenet
3a83b2f66f
Rename fixture function in stt tests (#87630) 2023-02-07 16:06:53 +01:00
Marc Mueller
b478b4fa16
Add ParamSpec TypeAliases [mypy 1.0] (#87597) 2023-02-07 15:56:26 +01:00
epenet
1b23429f41
Add __init__ return type to integrations (#87637) 2023-02-07 15:55:14 +01:00
Marc Mueller
785b949a82
Show diff on ruff failure [ci] (#87635) 2023-02-07 15:53:26 +01:00
epenet
b854dd99fc
Add rest to strict-typing (#86149)
* Add type hints to rest notify

* Add rest to strict-typing
2023-02-07 15:48:16 +01:00
epenet
59ca7780fa
Add typing to tests with single hass argument (#87631) 2023-02-07 15:01:16 +01:00
Marc-Olivier Arsenault
fe9f6823c3
Add ecobee ventilator (#83645)
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-02-07 07:54:23 -06:00
Jan Bouwhuis
4aa61b0d64
Cleanup remains of legacy validation MQTT light (#87467) 2023-02-07 14:52:40 +01:00
epenet
4d73de6295
Remove unused function in slack tests (#87618) 2023-02-07 07:52:15 -06:00
J. Nick Koston
0a1d5c85ad
Optimize history.get_last_state_changes query (#87554)
fixes undefined
2023-02-07 07:50:44 -06:00
epenet
4142f0d15d
Add return type to tests without arguments (#87613)
* Add return type to tests without arguments

* Black

* Cancel fixture amends
2023-02-07 14:20:06 +01:00
Marc Mueller
fb4c0b4b7a
Enable error-code redundant-self [mypy 1.0] (#87602) 2023-02-07 14:02:38 +01:00
Erik Montnemery
4cecc28f8c
Update unit system unit conversions (#87621) 2023-02-07 13:19:11 +01:00
epenet
8f8bdac451
Fix namespace issue in pylint plugin (#87627) 2023-02-07 13:07:21 +01:00
Jan Bouwhuis
be564e0162
Cleanup value_template config parameter from MQTT basic light (#87466)
* Remove not supported case from code for MQTT light

* Remove from schema
2023-02-07 13:05:24 +01:00
epenet
ef6798e854
Add caplog to known fixtures in pylint plugin (#87617) 2023-02-07 11:34:02 +01:00
Jan Bouwhuis
c78cae4483
Fix handling None or empty value for numeric MQTT sensor (#87004)
* Allow `None` for numeric sensor, ignore empty val

* Add test case with omitting a value

* Use _numeric_state_expected property

* Only respect None if numeric state is expected
2023-02-07 11:23:23 +01:00
Marc Mueller
42008c50f3
Enable error-code truthy-iterable [mypy 1.0] (#87596) 2023-02-07 11:16:22 +01:00
epenet
aa00114c2f
Add return type to async tests without arguments (#87612) 2023-02-07 10:26:56 +01:00
epenet
ea32a2ae63
Check return and mqtt fixtures typing in tests (#87607)
Check return type and mqtt fixtures typing in tests
2023-02-07 10:21:54 +01:00
Maciej Bieniek
6a3619d9fa
Refactor NAM sensor platform (#87048)
* Bump backend library

* Remove AQI_LEVEL_STATE_MAPPING

* Add native_precission

* Update diagnostics fixture

* Use _attr_native_value

* Fix type

* Improve lambda

* Revert native_value property

* native_precision -> suggested_display_precision
2023-02-07 09:14:20 +01:00
Jan Bouwhuis
73e3b30906
Add suggested_display_precision config option for MQTT sensor (#87129)
* Add precision for MQTT sensor

* Correct tests

* Use _attr_suggested_display_precision

* Rename option and add abbreviation

* Make abbr more compact
2023-02-07 08:55:35 +01:00
J. Nick Koston
3aa744ed19
Fix indent on slow_range_in_select for MySQL/MariaDB (#87581)
We would calculate this value and throw it away
because it was only used on first_connection
2023-02-06 23:59:54 -05:00
J. Nick Koston
8757e1ced8
Bump inkbird-ble to 0.5.6 (#87590)
changelog: https://github.com/Bluetooth-Devices/inkbird-ble/compare/v0.5.5...v0.5.6

fixes #85432
2023-02-06 23:59:21 -05:00
J. Nick Koston
37e6e67542
Bump sensorpro-ble to 0.5.3 (#87591)
changelog: https://github.com/Bluetooth-Devices/sensorpro-ble/compare/v0.5.1...v0.5.3

same fix as #85432 but for sensorpro
2023-02-06 23:59:17 -05:00
J. Nick Koston
a582f8181c
Bump thermopro-ble to 0.4.5 (#87592)
changelog: https://github.com/Bluetooth-Devices/thermopro-ble/compare/v0.4.3..v0.4.5

same fix as #85432 but for thermopro
2023-02-06 23:59:13 -05:00
J. Nick Koston
4c06e00ea6
Bump bluemaestro-ble to 0.2.3 (#87594)
changelog: https://github.com/Bluetooth-Devices/bluemaestro-ble/compare/v0.2.1..v0.2.3

same fix as #85432 but for bluemaestro
2023-02-06 23:59:09 -05:00
J. Nick Koston
e8027ebab2
Bump sensorpush-ble to 1.5.5 (#87595)
* Bump sensorpush-ble to 1.5.4

changelog: https://github.com/Bluetooth-Devices/sensorpush-ble/compare/v1.5.2..v1.5.4

same fix as #85432 but for sensorpush

* bump again to fix parser with passive scans
2023-02-06 23:59:05 -05:00