22553 Commits

Author SHA1 Message Date
Allen Porter
700675042b
Improve redaction for stream error messages (#120867) 2024-07-05 09:42:29 +02:00
Thomas55555
1b42b32ac1
Fix work area sensor in Husqvarna Automower (#121228) 2024-07-05 09:41:21 +02:00
Maciej Bieniek
dbe98de82a
Fix pulse counter frequency sensors for Shelly Plus Uni (#121178)
Co-authored-by: Maciej Bieniek <478555+bieniu@users.noreply.github.com>
2024-07-05 09:40:43 +02:00
Christophe Gagnier
b28f528a7a
Add max current number entity for TechnoVE (#121148)
Co-authored-by: Robert Resch <robert@resch.dev>
2024-07-05 09:39:58 +02:00
epenet
b054c037fe
Improve type hints in hassio tests (#121221) 2024-07-05 09:05:21 +02:00
Robert Svensson
dcef25c0fa
Use fixtures in deCONZ climate tests (#121242) 2024-07-05 09:01:45 +02:00
Sarabveer Singh
b3a62a97b4
Update HomeKit PM2.5 mappings based on new 2024 US EPA AQI (#109900) 2024-07-04 22:10:35 -05:00
Robert Svensson
62d9020261
Remove legacy method from deCONZ fan and sensor tests (#121244) 2024-07-04 18:17:15 -05:00
Erik Montnemery
e47cbf3cf7
Use async_setup_recorder_instance fixture in recorder v32_migration tests (#121081)
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-07-04 17:49:51 -05:00
Shay Levy
b14f22926a
Fix WebOS TV media player status when OFF after IDLE (#121251) 2024-07-05 00:19:24 +03:00
xLarry
276f6c7ee7
Update laundrify_aio to v1.2.2 (#121068)
* refactor: upgrade laundrify_aio to v1.2.1

* refactor: update laundrify_aio to v1.2.2
2024-07-04 22:08:50 +02:00
epenet
83fac6192d
Use service_calls fixture in webostv tests (#120999) 2024-07-04 23:07:38 +03:00
epenet
84a8259103
Improve type hints in ezviz tests (#120679) 2024-07-04 21:59:02 +02:00
Maciej Bieniek
001bb3a04e
Bump nettigo_air_monitor to version 3.3.0 (#120901)
* Bump nam library

* Update snaphots (increasing accuracy)

* Update lib and snapshot

---------

Co-authored-by: Maciej Bieniek <478555+bieniu@users.noreply.github.com>
2024-07-04 21:40:25 +02:00
Matthew FitzGerald-Chamberlain
df7be501d3
Fix AprilAire case (#120895)
* Fix AprilAire case

* Fix test
2024-07-04 21:27:56 +02:00
G Johansson
ebe7a4747d
Bump pytrafikverket to 1.0.0 (#121210)
* Update all related files and tests to new version

* Fix missed modal

* Bump requirements
2024-07-04 21:09:19 +02:00
Gerben Jongerius
6ab6ce30ef
Bump youless library version 2.1.2 (#121181) 2024-07-04 20:51:57 +02:00
epenet
fe0bafd067
Add warnings for deprecated json helpers (#121161) 2024-07-04 20:48:08 +02:00
epenet
e07bf61f03
Import AsyncGenerator from collections.abc in tests (#121019)
* Force import of Async/Generator from collections.abc

* Adjust

* Don't force
2024-07-04 20:24:27 +02:00
jvmahon
d5135d4956
Add support for the Select platform in Matter (#119769)
* Add support for ModeSelect Cluster

* Update discovery.py

* Add files via upload

* refactor part 1

* Update discovery.py

* add remaining mode discovery schemas

* add test

* type alias

---------

Co-authored-by: Marcel van der Veldt <m.vanderveldt@outlook.com>
2024-07-04 18:29:10 +02:00
Erik Montnemery
6df15ad8fc
Drop use of async_setup_recorder_instance fixture in recorder purge tests (#121193) 2024-07-04 10:39:24 -05:00
Erik Montnemery
a1e6f8c2ec
Drop use of async_setup_recorder_instance fixture in recorder migration tests (#121196) 2024-07-04 10:39:13 -05:00
cnico
092e362f01
Add new integration for Dio Chacon cover devices (#116267)
* Dio Chacon integration addition with config flow and cover entity

* Addition of model information for device

* Addition of light and service to force reloading states

* Logger improvements

* Convert light to switch and usage of v1.0.0 of the api

* 100% for tests coverage

* Invalid credential implementation and rebase on latest ha dev code

* Simplify PR with only one platform

* Ruff correction

* restore original .gitignore content

* Correction of cover state bug when using cover when using actions on cover group.

* Begin of corrections following review.

* unit tests correction

* Refactor with a coordinator as asked by review

* Implemented a post constructor callback init method via dio-chacon-api-1.0.2. Improved typing.

* Corrections for 2nd review

* Reimplemented without coordinator as reviewed with Joostlek

* Review improvement

* generalize callback in entity

* Other review improvements

* Refactored tests for readability

* Test 100% operationals

* Tests review corrections

* Tests review corrections

* Review tests improvements

* simplified tests with snapshots and callback method

* Final fixes

* Final fixes

* Final fixes

* Rename to chacon_dio

---------

Co-authored-by: Joostlek <joostlek@outlook.com>
2024-07-04 16:45:20 +02:00
epenet
28f06cb5a0
Add type hints to homekit events fixture (#121211) 2024-07-04 16:32:01 +02:00
epenet
411630429d
Improve type hints in habitica tests (#121212) 2024-07-04 16:27:57 +02:00
epenet
9a1f7f020c
Add type hints to matrix events fixtures (#121213) 2024-07-04 16:17:18 +02:00
Robert Svensson
d12f2384c5
Use fixtures in deCONZ config flow tests PT2 (#121203)
* Use fixtures in deCONZ config flow tests PT2

* Update tests/components/deconz/test_config_flow.py

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

---------

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2024-07-04 15:53:25 +02:00
Robert Svensson
24c82c2475
Use fixtures in deCONZ sensor tests PT2 (#121204) 2024-07-04 15:48:49 +02:00
epenet
b949240d4a
Improve type hints in google tests (#121169) 2024-07-04 05:56:01 -07:00
Robert Svensson
f78933235d
Use fixtures in deCONZ service tests (#121108)
* Use fixtures in deCONZ service tests

* Update tests/components/deconz/test_services.py

Co-authored-by: J. Nick Koston <nick@koston.org>

---------

Co-authored-by: J. Nick Koston <nick@koston.org>
2024-07-04 14:23:40 +02:00
Robert Svensson
ece8b74967
Use fixtures in deCONZ device trigger tests (#121103) 2024-07-04 14:23:15 +02:00
Robert Svensson
1d8382a498
Use fixtures in deCONZ light tests PT1 (#121112)
Use fixtures in deCONZ light tests part 1
2024-07-04 14:22:10 +02:00
Robert Svensson
873d96bab3
Use fixtures in deCONZ binary sensor tests (#120966) 2024-07-04 14:21:26 +02:00
Robert Svensson
31ed32da6c
Use fixtures in deCONZ alarm control panel tests (#120967) 2024-07-04 14:20:57 +02:00
Erik Montnemery
f1d6ad9073
Add test fixture to control recorder migration (#121180)
* Add test fixture to control recorder migration

* Update tests/components/recorder/conftest.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* Update tests/components/recorder/conftest.py

---------

Co-authored-by: J. Nick Koston <nick@koston.org>
2024-07-04 13:10:08 +02:00
Erik Montnemery
255778d0c7
Use recorder test fixtures in recorder init tests (#121176) 2024-07-04 04:54:40 -05:00
epenet
3c69301365
Improve type hints in guardian tests (#121175) 2024-07-04 04:53:49 -05:00
J. Nick Koston
67a4c2c884
Add support for event entity motion sensors to HomeKit (#121123) 2024-07-04 04:50:50 -05:00
Robert Svensson
d429bcef16
Use fixtures in deCONZ sensor tests PT1 (#121116) 2024-07-04 11:50:23 +02:00
Robert Svensson
02e7707f91
Use fixtures in deCONZ config flow tests PT1 (#121121) 2024-07-04 04:49:46 -05:00
epenet
a6f6221f16
Add monkeypatch type hints to numato tests (#121056)
* Add monkeypatch type hints to numato tests

* Adjust

* Improve
2024-07-04 02:33:47 -07:00
epenet
8aedb1201d
Improve type hints in google_pubsub tests (#121172)
* Improve type hints in google_pubsub tests

* Remove from .coveragerc
2024-07-04 02:31:35 -07:00
J. Nick Koston
aa74ad0061
Enable ruff asyncio event loop blocking detection rules (#120799) 2024-07-04 04:17:57 -05:00
epenet
43e4223a8e
Improve type hints in google_generative_ai tests (#121170) 2024-07-04 02:09:34 -07:00
epenet
cf96084ea3
Improve type hints in generic tests (#121166) 2024-07-04 10:32:00 +02:00
epenet
1eec49696a
Improve type hints in generic_hygrostat/thermostat tests (#121167) 2024-07-04 10:30:17 +02:00
epenet
1f22f0d89b
Improve type hints in google_travel_time tests (#121171) 2024-07-04 10:27:55 +02:00
epenet
dd8ba0828a
Improve type hints in geofency tests (#121168) 2024-07-04 10:27:37 +02:00
epenet
c9acd1711c
Improve type hints in gpslogger tests (#121173) 2024-07-04 10:23:14 +02:00
epenet
4589be2d11
Improve type hints in group tests (#121174) 2024-07-04 10:22:39 +02:00