Commit graph

58942 commits

Author SHA1 Message Date
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
Maikel Punie e1a3d61870
Velbus raise PlatformNotReady exception (#87526) 2023-02-06 17:21:53 +01:00
epenet 3d7ae84326
Remove use of HomeAssistantType (#87525) 2023-02-06 17:17:43 +01:00
rikroe 406a29912d
Fix notify targets for bmw_connected_drive (#87503)
Co-authored-by: rikroe <rikroe@users.noreply.github.com>
2023-02-06 17:15:28 +01:00
snapcase a61e87c46d
Bump jaraco.abode to 3.3.0 (#87498)
Fixes https://github.com/home-assistant/core/issues/86765
fixes undefined
2023-02-06 17:12:54 +01:00
Maikel Punie a11a43bb09
Add the correct loggers to velbus manifest.json (#87488) 2023-02-06 17:11:21 +01:00
Clifford Roche 0c8b7f1061
Bump greeclimate to 1.4.1 (#87513) 2023-02-06 17:08:26 +01:00
Michael Davie 61bf8fd02a
Bump env_canada to 0.5.28 (#87509)
Co-authored-by: J. Nick Koston <nick@koston.org>
fixes undefined
2023-02-06 17:05:28 +01:00
MarkGodwin ce9a514667
TP-Link Omada integration (#81223)
* TP-Link Omada integration
Support for PoE config of network switch ports

* Bump omada client version

* Fixing tests

* Refactored site config flow

* Code review comments

* Fixed tests and device display name issue

* Bump isort to fix pre-commit hooks

* Hassfest for the win

* Omada code review

* Black

* More config flow test coverage

* Full coverage for omada config_flow

---------

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2023-02-06 10:57:18 -05:00
Kirill Kulakov 258357c2cd
Xiaomi 2S air purifier mode selection support (#86649)
* Xiaomi 2S air purifier mode selection support

* Update homeassistant/components/xiaomi_miio/select.py

Co-authored-by: Teemu R. <tpr@iki.fi>

* rename fix translation keys and rename key to be specific to airpurifiers

Co-authored-by: Teemu R. <tpr@iki.fi>
2023-02-06 16:42:11 +01:00
epenet de807fa782
Ensure __init__ return type is None (#87521)
* Ensure __init__ return type is None

* Remove hass-constructor plugin

* Simplify

* Replace dict with list

* Cleaup pyproject.toml

* Move is_method outside loop

* Adjust loop
2023-02-06 16:25:12 +01:00
Franck Nijhof 939eef3b28
Remove translations from Core (#87543)
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-02-06 15:06:43 +01:00
Jan Bouwhuis 4ad386d794
Correct type hints mqtt_client_mock and move new generator type (#87527)
* Correct mqtt_client_mock and move MqttMockType

* Rename MqttMockType to MqttMockGenerator

* Make types more specific

* adjust returntype _setup_mqtt_entry

* Correct return type _setup_mqtt_entry

* Update tests/conftest.py

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

* Update tests/conftest.py

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

---------

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2023-02-06 15:05:06 +01:00