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
Paulus Schoutsen
400c88a1cc
OpenAI: Ignore devices without a name ( #87558 )
...
Ignore devices without a name
2023-02-06 23:57:08 -05:00
Marc Mueller
ea4e2ab4aa
Add Self typing (4) [mypy 1.0] ( #87601 )
2023-02-06 22:30:22 -06:00
Marc Mueller
f7b39aa4a8
Add Self typing (3) [mypy 1.0] ( #87600 )
2023-02-06 22:30:07 -06:00
Marc Mueller
342b406dc0
Add Self typing (1) [mypy 1.0] ( #87598 )
2023-02-06 22:29:47 -06:00
Marc Mueller
a5d376069a
Add Self typing (2) [mypy 1.0] ( #87599 )
2023-02-06 23:23:52 -05:00
Allen Porter
37bb1e8948
Improve rainbird device reliability by sending requests serially ( #87603 )
...
Send rainbird requests serially
2023-02-06 19:57:16 -08:00
Marc Mueller
af59623601
Enable `local_partial_types` for strict typing [mypy] ( #86409 )
2023-02-06 20:41:39 -06:00
Kevin Worrel
687d326bb4
Support local push updates for most ScreenLogic entities ( #87438 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-02-06 20:13:36 -06:00
Marc Mueller
4fbb14ecc7
Update mypy to 1.0.0 ( #87586 )
2023-02-07 02:31:14 +01:00
Paulus Schoutsen
ff6e597a63
Add Matter to supported standards for brands ( #87564 )
...
* Add Matter standard to TP-Link
* --amend
2023-02-06 20:09:01 -05:00
Marc Mueller
e348c25e18
Pin platformdirs to resolve dependency conflict ( #87589 )
2023-02-06 18:58:00 -06:00
Martin Hjelmare
f378dcdc30
Fix matter remove config entry device ( #87571 )
2023-02-06 22:41:52 +01:00
Luke
e53de2742c
Bump oralb-ble to 0.17.4 ( #87570 )
...
closes undefined
2023-02-06 13:28:53 -06:00
karwosts
40086cc663
Remove default:0 from duration for timer.start service ( #87553 )
...
fixes undefined
2023-02-06 19:48:27 +01:00
Mark Huson
d2ec63d757
Update example data to define `in` as a dictionary ( #87557 )
2023-02-06 19:48:10 +01:00
Erik Montnemery
e4285b0186
Comment lack of rounding in AlexaTemperatureSensor ( #87561 )
2023-02-06 19:37:14 +01:00
Paulus Schoutsen
a090652560
Use correct state in Entity repr and output similar value to State class ( #87519 )
...
* Use correct state in Entity repr
* Test Entity.__repr__
* Align with State class
2023-02-06 13:35:36 -05:00
Maikel Punie
815ee58ea3
Bump velbus-aio to 2023.2.0 ( #87562 )
...
Bump valbusaio to 2023.2.0
2023-02-06 13:12:57 -05:00
Ben Corrado
fee693979d
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-06 13:00:06 -05:00
Franck Nijhof
746afb70ba
Fix pypi package translations + add translation build artifacts ( #87548 )
2023-02-06 11:21:57 -05:00