Commit Graph

20419 Commits (0d27cdc84595e28d514985f57f51f09cdfa6336f)

Author SHA1 Message Date
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
Erik Montnemery d55d02623a
Add recorder test fixture to enable persistent SQLite database (#121137)
* Add recorder test fixture to enable persistent SQLite database

* Fix tests directly using async_test_home_assistant context manager
2024-07-04 09:59:37 +02:00
Marcel van der Veldt 24f6e6e885
Fix locking/unlocking transition state in Matter lock platform (#121099) 2024-07-04 09:20:55 +02:00
J. Nick Koston e8ef2c2822
Fix blocking I/O in tts tests (#121143) 2024-07-04 05:21:01 +01:00
J. Nick Koston a4d4fc6827
Fix blocking I/O in stream tests (#121142) 2024-07-04 05:15:26 +01:00
J. Nick Koston 7002042119
Fix blocking I/O in mqtt tests (#121140) 2024-07-04 05:13:13 +01:00
J. Nick Koston c59fc4e3c7
Fix blocking I/O in media_extractor tests (#121139) 2024-07-04 05:08:53 +01:00
Erik Montnemery cc2782edc7
Use async_test_recorder fixture in recorder auto_repairs tests (#121125) 2024-07-04 01:38:01 +02:00
J. Nick Koston 84d8bc711d
Fix blocking I/O in event loop in google_assistant test (#121126)
found by ruff in #120799
2024-07-03 23:35:23 +01:00
J. Nick Koston 595e688c56
Fix blocking I/O in event loop in kira test (#121127) 2024-07-03 23:35:02 +01:00
Erik Montnemery 408e524551
Add recorder test fixture for skipping tests by DB engine (#121118)
* Add recorder test fixture for skipping tests by DB engine

* Fix mistake
2024-07-04 00:02:46 +02:00
epenet 73716ea529
Add monkeypatch type hints to webostv tests (#121054)
* Add monkeypatch type hints to webostv

* Improve
2024-07-03 23:49:31 +03:00
epenet c9240b8e34
Add monkeypatch type hints to switcher_kis tests (#121055)
* Add monkeypatch type hints to switch_kis

* Improve
2024-07-03 23:49:01 +03:00
Jan Bouwhuis 2040c285b1
Remove schema option for mqtt vacuum configs (#121093) 2024-07-03 21:35:20 +02:00
J. Nick Koston 53767b6159
Fix event loop blocking I/O in generic tests (#121100) 2024-07-03 20:24:25 +01:00
J. Nick Koston 4881205831
Fix event loop blocking I/O in command_line tests (#121098) 2024-07-03 14:22:38 -05:00
Erik Montnemery 5029da6919
Make the async_setup_recorder_instance fixture a context manager (#121086) 2024-07-03 14:05:34 -05:00
J. Nick Koston 44c89e6c3b
Cleanup v32 recorder migration test (#121083) 2024-07-03 10:45:19 -05:00
Erik Montnemery 46a488d871
Use async_setup_recorder_instance fixture in recorder auto_repairs tests (#121077) 2024-07-03 17:04:39 +02:00
Paulus Schoutsen 976cb434c9
Add CONTROL supported feature to OpenAI conversation entities (#121064)
Add CONTROL supported feature to OpenAI
2024-07-03 09:19:46 -05:00
epenet 8709c668cc
Remove unused diagnostics fixtures (#121066) 2024-07-03 15:57:02 +02:00
Erik Montnemery 87f7703f3c
Use async_setup_recorder_instance fixture in recorder migration tests (#121050) 2024-07-03 08:56:05 -05:00
Paulus Schoutsen a885bdfe76
Add conversation supported feature CONTROL (#121036) 2024-07-03 14:30:51 +02:00
epenet ac57eb7614
Add monkeypatch type hints to shelly tests (#121057)
* Add monkeypatch type hints to shelly tests

* Improve
2024-07-03 12:08:40 +02:00
epenet 476efb1d36
Improve type hints in home_connect tests (#121014) 2024-07-02 22:19:33 +02:00
Jan-Philipp Benecke 7d31d553d0
Temporarily set apprise log level to debug in tests (#121029)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2024-07-02 22:13:19 +02:00
Marcel van der Veldt 52627b9aed
Handle mains power for Matter appliances (#121023) 2024-07-02 21:02:29 +02:00
epenet 592ef59c5a
Use common fixtures in tasmota tests (#121000) 2024-07-02 17:38:20 +02:00
epenet 195f07a18a
Use service_calls fixture in nest tests (#120987) 2024-07-02 08:02:17 -07:00
epenet faf43ed4c7
Adjust Generator type hints in tests (#121013) 2024-07-02 14:12:02 +02:00
epenet bd234db48f
Improve type hints in analytics tests (#121012) 2024-07-02 13:58:11 +02:00
Joost Lekkerkerker 2edb7eb42c
Remove Aladdin Connect integration (#120980) 2024-07-02 13:51:44 +02:00
Jesse Hills 72d706ab52
[ESPHome] Disable dashboard based update entities by default (#120907)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2024-07-02 13:51:14 +02:00
starkillerOG e322cada48
Reolink replace automatic removal of devices by manual removal (#120981)
Co-authored-by: Robert Resch <robert@resch.dev>
2024-07-02 13:31:23 +02:00
Robert Svensson baf2ebf1f2
Use fixtures in deCONZ diagnostics tests (#120968) 2024-07-02 12:43:34 +02:00
epenet 326d24d78b
Use service_calls fixture in xiaomi_ble tests (#120998) 2024-07-02 12:37:50 +02:00
epenet 3adea1ada9
Use service_calls fixture in zwave_js tests (#120994) 2024-07-02 12:37:21 +02:00
epenet 02dffcde1a
Use common registry fixtures in solarlog (#121005) 2024-07-02 12:36:30 +02:00
epenet 22f5f59478
Use service_calls fixture in core platform tests [m-z] (#121001) 2024-07-02 12:34:11 +02:00
epenet 76a62028ad
Use common registry fixtures in lifx (#121004) 2024-07-02 12:32:17 +02:00
epenet 6fd1f0a34f
Use common fixtures in philips_js tests (#120988) 2024-07-02 12:31:10 +02:00
epenet e544550380
Use service_calls fixture in yolink tests (#120997) 2024-07-02 12:30:52 +02:00
epenet 8819a9aa52
Use service_calls fixture in sun tests (#120990) 2024-07-02 12:29:51 +02:00
epenet 1f6744847d
Use service_calls fixture in zone tests (#120995) 2024-07-02 12:29:21 +02:00
epenet b13e78f3a3
Use service_calls fixture in microsoft tests (#120983) 2024-07-02 12:27:54 +02:00
epenet 71b7ee40e5
Use common registry fixtures in tplink (#121002) 2024-07-02 12:27:15 +02:00
epenet 9ca9377cad
Use common registry fixtures in hue (#121003) 2024-07-02 12:26:25 +02:00
epenet e3516be3e3
Use service_calls fixture in mqtt tests (#120984) 2024-07-02 11:23:46 +02:00
epenet fac511aa46
Use service_calls fixture in samsungtv tests (#120992) 2024-07-02 10:37:14 +02:00
epenet 3df3e6d081
Use service_calls fixture in shelly tests (#120991) 2024-07-02 10:36:50 +02:00
epenet 07d80d5ad9
Use service_calls fixture in netatmo tests (#120986) 2024-07-02 10:17:41 +02:00
Teemu R 90d622cd02
Minor polishing for tplink (#120868) 2024-07-02 08:23:07 +02:00
Robert Svensson 0ffebd4853
Use fixtures in deCONZ button tests (#120958) 2024-07-01 20:48:33 +02:00
Robert Svensson 690164a518
Use fixtures in deCONZ cover tests (#120954) 2024-07-01 20:31:42 +02:00
Robert Svensson 167a8c6613
Use fixtures in deCONZ fan tests (#120953) 2024-07-01 19:49:12 +02:00
epenet 07f095aa42
Use service_calls fixture in core platform tests [a-l] (#120904) 2024-07-01 19:27:50 +02:00
Robert Svensson 1209abc944
Use fixtures in deCONZ switch tests (#120944) 2024-07-01 19:03:32 +02:00
Robert Svensson 7a3039aecb
Use fixtures in deCONZ lock tests (#120948) 2024-07-01 19:01:32 +02:00
Robert Svensson d506c30b38
Use fixtures in deCONZ logbook tests (#120947) 2024-07-01 18:58:43 +02:00
Robert Resch a0b604f98c
Improve add user error messages (#120909) 2024-07-01 18:27:40 +02:00
epenet e5c7ff6a5b
Use service_calls fixture in conversation tests (#120906) 2024-07-01 17:57:40 +02:00
epenet 918ac5d67c
Use service_calls fixture in geo_location tests (#120911) 2024-07-01 17:56:58 +02:00
epenet afb0a6e0ab
Use service_calls fixture in homekit_controller tests (#120927) 2024-07-01 17:55:39 +02:00
epenet b3a50893cf
Use service_calls fixture in kodi tests (#120929) 2024-07-01 17:55:01 +02:00
tronikos 8354aa434e
Remove a useless line in Google Generative AI test (#120903) 2024-07-01 17:48:39 +02:00
tronikos 5ce54c2174
Replace GoogleAPICallError with GoogleAPIError (#120902) 2024-07-01 17:48:12 +02:00
epenet 813fee663e
Use service_calls fixture in litejet tests (#120933) 2024-07-01 17:47:21 +02:00
Robert Svensson dcf4e91234
Use fixtures in deCONZ number tests (#120938) 2024-07-01 17:46:46 +02:00
Robert Svensson 361e81821c
Use fixtures in deCONZ scene tests (#120936) 2024-07-01 17:42:32 +02:00
epenet 788d1999ff
Use service_calls fixture in lg_netcast tests (#120932) 2024-07-01 17:37:29 +02:00
epenet c4903dd982
Use service_calls fixture in media_extractor tests (#120935) 2024-07-01 17:32:17 +02:00
Robert Svensson 77fc1c991c
Use fixtures in deCONZ select tests (#120943) 2024-07-01 17:29:57 +02:00
epenet ce54ca9c8e
Use service_calls fixture in lcn tests (#120931) 2024-07-01 17:27:32 +02:00
epenet c8bb64882e
Use service_calls fixture in homeassistant tests (#120922) 2024-07-01 17:26:41 +02:00
epenet 2815c43f3e
Use service_calls fixture in lutron_caseta tests (#120934) 2024-07-01 17:24:36 +02:00
Allen Porter 2506acc095
Improve flume test coverage (#120851)
* Add Flume init tests

* Increase test coverage

* Improve readability

* Fix pydoc for tests

* Use pytest.mark.usefixtures
2024-07-01 07:41:47 -07:00
epenet c9911fa8ce
Use service_calls fixture in hue tests (#120928) 2024-07-01 16:16:19 +02:00
epenet bc3562a9e8
Use service_calls fixture in knx tests (#120930) 2024-07-01 14:33:01 +02:00
Marc Mueller 414525503c
Use TypeVar defaults for Generator (#120921)
* Use TypeVar defaults for Generator

* Code review
2024-07-01 14:02:54 +02:00
epenet 4cc414fbf8
Use service_calls fixture in google_translate tests (#120920) 2024-07-01 13:10:39 +02:00
Robert Svensson 44640ef9e8
First step towards fixtures in deCONZ tests (#120863)
* config entry fixture

* Mock web request

* Make siren tests use new fixtures

* Replace old constants

* Add mock put request

* Change comment
2024-07-01 12:33:51 +02:00
Marc Mueller 921430d497
Import Generator from collections.abc (3) (#120916) 2024-07-01 12:09:11 +02:00
Marc Mueller 2f0dd6f704
Import Generator from collections.abc (2) (#120915) 2024-07-01 11:58:49 +02:00
Marc Mueller f11b316dac
Import Generator from collections.abc (4) (#120917) 2024-07-01 11:54:42 +02:00
Marc Mueller ca55986057
Import Generator from collections.abc (1) (#120914) 2024-07-01 11:51:51 +02:00
epenet 88583149ea
Use service_calls fixture in deconz tests (#120905) 2024-07-01 10:33:31 +02:00
Yuxin Wang 269b8b07c4
Add handling for different STATFLAG formats in APCUPSD (#120870)
* Add handling for different STATFLAG formats

* Just use removesuffix
2024-07-01 07:30:08 +02:00
Etienne Soufflet 1a63bb89cb
Fix Tado fan mode (#120809) 2024-06-30 20:38:35 +02:00
Sander Peterse 2f5ec41fa6
Add valve domain to HomeKit (#115901)
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-06-30 12:04:20 -05:00
Richard Kroegel f672eec515
Fix unifi device tracker test imports (#120864) 2024-06-30 16:27:03 +02:00
mkmer 419d89f863
Allow EM heat on from any mode in Honeywell (#120750) 2024-06-30 15:30:52 +02:00
Robert Svensson 8b3319b772
Improve UniFi device tracker tests (#120795) 2024-06-30 15:26:45 +02:00
Robert Svensson 289a630578
Improve UniFi device tracker tests Pt2 (#120796) 2024-06-30 15:25:38 +02:00
Robert Svensson e961ddd5fe
Simplify UniFi uptime sensor test (#120794) 2024-06-30 15:22:15 +02:00
Robert Svensson ca7fb906cc
Axis improve fixture naming (#120844) 2024-06-30 14:52:20 +02:00
Richard Kroegel d15d001cfc
Use runtime_data for BMW (#120837) 2024-06-30 14:51:39 +02:00
J. Nick Koston 5280291f98
Add linked doorbell event support to HomeKit (#120834) 2024-06-29 18:43:20 -05:00
Steven Looman 559caf4179
Use eventing for some of the upnp sensors, instead of polling (#120262) 2024-06-29 12:11:22 -05:00
J. Nick Koston 8f98fb2ec4
Fix publish cancellation handling in MQTT (#120826) 2024-06-29 11:06:56 -05:00
Joost Lekkerkerker 25932dff28
Add unique id to Mealie config entry (#120816) 2024-06-29 17:48:28 +02:00
Joost Lekkerkerker 0ab7647fea
Use meal note as fallback in Mealie (#120828) 2024-06-29 17:47:21 +02:00
Allen Porter 7d8cbbaacb
Bump gcal_sync to 6.1.3 (#120278) 2024-06-29 17:45:51 +02:00
J. Nick Koston c5804d362c
Remove legacy foreign key constraint from sqlite states table (#120779) 2024-06-29 07:50:53 -05:00
J. Nick Koston 2cfd6d53bd
Add event platform to unifiprotect (#120681)
* Add event platform to unifiprotect

* Add event platform to unifiprotect

* Add event platform to unifiprotect

* Add event platform to unifiprotect

* adjust

* tweaks

* translations

* coverage

* coverage

* Update tests/components/unifiprotect/test_event.py
2024-06-29 07:49:14 +02:00
dougiteixeira cef7def024
Link Generic Hygrostat helper entity to actuator entity device (#120759) 2024-06-28 23:38:45 +02:00
dougiteixeira 8ed11d4b90
Link Generic Thermostat helper entity to actuator entity device (#120767) 2024-06-28 23:37:51 +02:00
wittypluck 3549aaf69c
Reject small uptime updates for Unifi clients (#120398)
Extend logic to reject small uptime updates to Unifi clients + add unit tests
2024-06-28 22:47:20 +02:00
Mr. Bubbles 4fb0621027
Catch exceptions in service calls by buttons/switches in pyLoad integration (#120701)
* Catch exceptions in service calls by buttons/switches

* changes

* more changes

* update tests
2024-06-28 20:11:03 +02:00
Jan Bouwhuis e907c45981
Cleanup mqtt platform tests part 5 (#120719) 2024-06-28 09:22:56 -05:00
Jan Bouwhuis a8f4684929
Cleanup mqtt platform tests part 6 (last) (#120736) 2024-06-28 09:22:25 -05:00
Joost Lekkerkerker b56c4a757c
Bump ruff to 0.5.0 (#120749) 2024-06-28 15:23:21 +02:00
epenet c7906f90a3
Improve type hints in frontend tests (#120739) 2024-06-28 13:36:26 +02:00
epenet d427dff68d
Improve type hints in forked_daapd tests (#120735) 2024-06-28 13:35:55 +02:00
epenet d0ce0d562e
Improve type hints in flo tests (#120730) 2024-06-28 13:34:26 +02:00
tronikos d2a457c24f
Fix Google Generative AI: 400 Request contains an invalid argument (#120741) 2024-06-28 13:25:55 +02:00
Joost Lekkerkerker 6ef8e87f88
Fix ruff redefined-argument-from-local PLR1704 (#120729)
* Fix PLR1704

* Fix
2024-06-28 12:31:07 +02:00
dougiteixeira 4437c4a204
Link the Statistics helper entity to the source entity device (#120705) 2024-06-28 12:22:24 +02:00
Joost Lekkerkerker c13786c952
Fix ruff manual-dict-comprehension PERF403 in tests (#120738)
Fix PERF403 in tests
2024-06-28 12:14:24 +02:00
epenet 6f8c9c28e7
Improve type hints in fjaraskupan tests (#120732) 2024-06-28 12:03:26 +02:00
Joost Lekkerkerker 0fdf037ba0
Fix ruff type comparison E721 (#120731)
Fix E721
2024-06-28 11:56:49 +02:00
Brett Adams 3d580259e1
Check Tessie scopes to fix startup bug (#120710)
* Add scope check

* Add tests

* Bump Teslemetry
2024-06-28 11:21:59 +02:00
epenet 6d93695e2c
Improve type hints in flux tests (#120733) 2024-06-28 11:20:17 +02:00
Mr. Bubbles 540da3cac6
Add unit and state_class to heating sensor in ista EcoTrend (#120728)
* Add unit and state_class to heating sensor

* remove constant
2024-06-28 10:16:13 +01:00
Joost Lekkerkerker 6286177041
Bump panasonic_viera to 0.4.2 (#120692)
* Bump panasonic_viera to 0.4.2

* Bump panasonic_viera to 0.4.2

* Bump panasonic_viera to 0.4.2

* Fix Keys
2024-06-28 11:15:44 +02:00
epenet 9b980602c9
Improve type hints in flux_led tests (#120734) 2024-06-28 11:09:54 +02:00
epenet 1e72c2f94d
Bump renault-api to 0.2.4 (#120727) 2024-06-28 11:03:01 +02:00
Joost Lekkerkerker 03c6e0c55f
Fix SIM300 (#120725) 2024-06-28 10:46:02 +02:00
Erik Montnemery ec069f9084
Set stateclass on unknown numeric Tasmota sensors (#120650) 2024-06-28 08:42:47 +02:00
Maciej Bieniek e764afecac
Bump `nextdns` to version 3.1.0 (#120703)
Co-authored-by: Maciej Bieniek <478555+bieniu@users.noreply.github.com>
2024-06-27 23:12:20 +02:00
Erik Montnemery f3761a8e53
Bump hatasmota to 0.9.2 (#120670) 2024-06-27 22:56:22 +02:00
epenet bccd5c8c35
Improve type hints in evil_genius_labs tests (#120677) 2024-06-27 22:11:24 +02:00
epenet 629dab238f
Improve type hints in enphase_envoy tests (#120676) 2024-06-27 13:24:22 -05:00
epenet f4b76406f2
Add capsys to enforce-type-hints plugin (#120653) 2024-06-27 19:54:44 +02:00
Jan Bouwhuis f3c76cd698
Split mqtt client tests (#120636) 2024-06-27 19:37:43 +02:00
epenet e446875c7e
Improve type hints in esphome tests (#120674) 2024-06-27 09:33:14 -05:00
Steven B 9758b08036
Update tplink unlink identifiers to deal with ids from other domains (#120596) 2024-06-27 07:54:34 -05:00
Steven B 970dd99226
Store tplink credentials_hash outside of device_config (#120597) 2024-06-27 07:34:12 -05:00
epenet 0d53ce4fb8
Improve type hints in emulated_hue tests (#120664) 2024-06-27 14:27:35 +02:00
Josef Zweck 9f6783dcf5
Add release url to lamarzocco update (#120645) 2024-06-27 13:21:36 +02:00
Brett Adams cb92510571
Fix values at startup for Tessie (#120652) 2024-06-27 13:17:15 +02:00
Jesse Hills a93855ded3
[esphome] Add more tests to bring integration to 100% coverage (#120661) 2024-06-27 06:08:40 -05:00
Erik Montnemery 54a5a3e3fb
Bump hatasmota to 0.9.1 (#120649) 2024-06-27 12:55:49 +02:00
Joost Lekkerkerker 9aa2cc11e9
Fix Airgradient ABC days name (#120659) 2024-06-27 12:47:58 +02:00
Erik Montnemery 06f495dd45
Add snapshots to tasmota sensor test (#120647) 2024-06-27 10:43:28 +02:00
Josef Zweck 85629dc31e
Move Auto On/off switches to Config EntityCategory (#120648) 2024-06-27 10:34:01 +02:00
Jan Bouwhuis 32e64f7911
Cleanup mqtt platform tests part 4 (init) (#120574) 2024-06-26 16:57:41 -05:00
Marc Mueller fcfb580f0c
Update pylint to 3.2.4 (#120606) 2024-06-26 22:29:55 +02:00
Florian 9b2915efed
Don't allow switch toggle when device in locked in AVM FRITZ!SmartHome (#120132)
* fix: set state of the FritzBox-Switch to disabled if the option for manuel switching in the userinterface is disabled

* feat: raise an error instead of disabling switch

* feat: rename method signature

* fix: tests

* fix: wrong import

* feat: Update homeassistant/components/fritzbox/strings.json

Update error message

Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>

* Update tests/components/fritzbox/test_switch.py

feat: update test

Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>

* make ruff happy

* fix expected error message check

---------

Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>
2024-06-26 21:45:17 +02:00
Marc Mueller dd6cc82f70
Fix mqtt test fixture usage (#120602) 2024-06-26 21:30:30 +02:00
Jan Bouwhuis 8839a71adc
Prevent changes to mutable bmw_connected_drive fixture data (#120600) 2024-06-26 20:57:27 +02:00
Max 702d53ca30
Correct deprecation warning `async_register_static_paths` (#120592) 2024-06-26 20:55:25 +02:00
Shay Levy 4c6cbadc11
Align Shelly sleeping devices timeout with non-sleeping (#118969) 2024-06-26 20:53:02 +02:00
Shay Levy d8ab2debfd
Add last_error reporting to Shelly diagnostics (#120595) 2024-06-26 21:35:23 +03:00
Robert Resch 31e9de3b95
Adapt Roborock to runtime_data (#120578)
* Adopt Roborock to runtime_data

* Fix name
2024-06-26 19:42:15 +02:00
Michael Hansen 02b142fbde
Bump intents to 2024.6.26 (#120584)
Bump intents
2024-06-26 11:13:01 -05:00
Gerben Jongerius f5c640ee5b
Add additional tests to youless integration (#118869) 2024-06-26 16:11:21 +02:00
Bouwe Westerdijk 32c07180f6
Delete removed device(s) at runtime in Plugwise (#120296) 2024-06-26 16:08:32 +02:00
G Johansson 3d5d4f8ddb
Add config flow to statistics (#120496) 2024-06-26 16:06:35 +02:00
treetip 30a3e9af2b
Add profile duration sensor for Vallox integration (#120240) 2024-06-26 15:54:13 +02:00
Joost Lekkerkerker 66a803e56c
Disable Aladdin Connect (#120558)
Co-authored-by: Robert Resch <robert@resch.dev>
2024-06-26 15:41:20 +02:00
Luke Lashley d0f82d6f02
Add support for Dyad vacuums to Roborock (#115331) 2024-06-26 15:40:19 +02:00
Bouwe Westerdijk 4defc4a58f
Implement a reboot-button for Plugwise (#120554)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2024-06-26 15:28:50 +02:00
Mr. Bubbles 43d686e0f1
Redact the hostname in pyLoad diagnostics (#120567) 2024-06-26 14:59:14 +02:00
Luke Lashley b9be491016
Add options flow to Roborock (#104345)
Co-authored-by: Robert Resch <robert@resch.dev>
2024-06-26 14:32:26 +02:00
Brett Adams ec16fc235b
Add new coordinators to Tessie (#118452)
* WIP

* wip

* Add energy classes

* Add basis for Testing

* Bump Library

* fix case

* bump library

* bump library again

* bump library for teslemetry

* reorder

* Fix super

* Update strings.json

* Tests

* Small tweaks

* Bump

* Bump teslemetry

* Remove version

* Add WC states

* Bump to match dev

* Review feedback

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>

* Review feedback

* Review feedback 1

* Review feedback 2

* TessieWallConnectorStates Enum

* fixes

* Fix translations and value

* Update homeassistant/components/tessie/strings.json

* Update homeassistant/components/tessie/strings.json

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-06-26 14:23:06 +02:00
epenet fd67fe417e
Use ruff to force alias when importing PLATFORM_SCHEMA (#120539) 2024-06-26 14:22:52 +02:00
Joost Lekkerkerker e39d26bdc0
Add switch platform to Airgradient (#120559) 2024-06-26 14:21:30 +02:00
Michael Hansen d515a7f063
Add created_seconds to timer info and pass to ESPHome devices (#120364) 2024-06-26 14:20:11 +02:00
Mr. Bubbles f5ff19d602
Add measurement unit and state_class to sensors in pyLoad (#120551) 2024-06-26 14:14:48 +02:00
Mr. Bubbles 1d0aa6bff0
Update docstrings in pyLoad tests (#120556) 2024-06-26 13:40:20 +02:00
Bouwe Westerdijk b07453dca4
Implement remaining select-adaptions for Plugwise (#120544) 2024-06-26 13:37:08 +02:00
Mr. Bubbles 972b85a75b
Fix class and variable naming errors in pyLoad integration (#120547) 2024-06-26 13:36:25 +02:00
Mr. Bubbles 13a9efb6a6
Convert dataclass to dict in pyLoad diagnostics (#120552) 2024-06-26 13:36:01 +02:00
Erik Montnemery a36c40a434
Use state_reported events in Riemann sum sensor (#113869) 2024-06-26 13:35:01 +02:00
Robert Resch e8a3e3c8db
Fix airgradient select entities (#120549) 2024-06-26 13:19:34 +02:00
Richard Kroegel d5bcfe9822
Improve BMW tests (#119171)
Co-authored-by: Richard <rikroe@users.noreply.github.com>
2024-06-26 12:27:55 +02:00
Erik Montnemery 9bbeb5d608
Add primary_config_entry attribute to device registry entries (#119959)
Co-authored-by: Franck Nijhof <git@frenck.dev>
Co-authored-by: Robert Resch <robert@resch.dev>
2024-06-26 12:26:24 +02:00
Erik Montnemery f55ddfecf4
Correct type annotations in integration sensor tests (#120541) 2024-06-26 12:25:02 +02:00
Joost Lekkerkerker fac8349c37
Add learning offset select to Airgradient (#120532) 2024-06-26 12:18:33 +02:00
Bouwe Westerdijk d00fe1ce7f
Import DOMAIN constants for Plugwise and implement (#120530) 2024-06-26 12:17:17 +02:00
Mr. Bubbles 42d235ce4d
Add diagnostics platform to pyLoad integration (#120535) 2024-06-26 11:44:58 +02:00
Stefan Agner 44aad2b821
Improve Matter Server version incompatibility handling (#120416)
* Improve Matter Server version incompatibility handling

Improve the handling of Matter Server version. Noteably fix the issues
raised (add strings for the issue) and split the version check into
two cases: One if the server is too old and one if the server is too
new.

* Bump Python Matter Server library to 6.2.0b1

* Address review feedback
2024-06-26 11:43:51 +02:00
hahn-th ae73500beb
Add HmIP-ESI (#116863) 2024-06-26 11:33:44 +02:00
Bouwe Westerdijk 41026b9227
Implement @plugwise_command for Plugwise Select platform (#120509) 2024-06-26 11:04:00 +02:00
Mr. Bubbles 45dedf73c8
Add exception translations for pyLoad integration (#120520) 2024-06-26 11:00:31 +02:00
Mr. Bubbles 8e598ec3ff
Rename sensor to finished downloads in pyLoad integration (#120483) 2024-06-26 10:50:32 +02:00
Bouwe Westerdijk 0a48cc29b6
Implement @plugwise_command for Plugwise Number platform (#120503) 2024-06-26 10:24:29 +02:00
Mr. Bubbles d76a82e340
Add switch platform to pyload integration (#120352) 2024-06-26 10:21:54 +02:00
Joost Lekkerkerker 59959141af
Remove Knocki triggers on runtime (#120452)
* Bump Knocki to 0.2.0

* Remove triggers on runtime in Knocki

* Fix
2024-06-26 09:52:05 +02:00
Mr. Bubbles 82b8b73b8a
Add reconfiguration flow to pyLoad integration (#120485) 2024-06-26 09:46:50 +02:00
G Johansson c085057847
Add timezone testing in holiday (#120497) 2024-06-26 09:40:29 +02:00
starkillerOG 1b88448914
Do not wait for Reolink firmware check (#120377) 2024-06-26 09:34:45 +02:00
Jan Bouwhuis c5b7d2d868
Cleanup mqtt platform tests part 3 (#120493) 2024-06-26 09:29:40 +02:00
Thomas Kistler bff9d12cc0
Add active watering time sensor to Hydrawise (#120177) 2024-06-26 09:24:48 +02:00
Jan Bouwhuis e567f8f3d5
Fix issue where an MQTT device is removed linked to two config entries (#120430)
* Fix issue where an MQTT device is removed linked to two config entries

* Update homeassistant/components/mqtt/discovery.py

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

* Update homeassistant/components/mqtt/debug_info.py

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

---------

Co-authored-by: J. Nick Koston <nick@koston.org>
2024-06-26 09:14:33 +02:00
Michael Hansen d3ceaef098
Allow timer management from any device (#120440) 2024-06-26 09:06:56 +02:00
Abílio Costa 8ce53d28e7
Handle availability in Idasen Desk height sensor (#120277) 2024-06-26 09:02:49 +02:00
Jan Bouwhuis fab901f9b6
Cleanup mqtt platform tests part 2 (#120490) 2024-06-26 08:53:28 +02:00
Mr. Bubbles ba40340f82
Align deviceinfo entries in pyLoad integration (#120478) 2024-06-26 08:45:22 +02:00
J. Nick Koston 07b70cba10
Fix dropped unifiprotect motion events (#120489) 2024-06-26 08:32:43 +02:00
Jan Bouwhuis 038f2ce79f
Cleanup mqtt platform tests part 1 (#120470) 2024-06-26 00:01:57 +02:00
Stefan Agner 5983344746
Handle http connection errors to Prusa printers (#120456) 2024-06-25 22:34:56 +02:00
Joost Lekkerkerker 1f0e47b251
Migrate Airgradient select entities to be config source dependent (#120462)
Co-authored-by: Robert Resch <robert@resch.dev>
2024-06-25 22:27:52 +02:00
Teemu R 4290a1fcb5
Upgrade tplink with new platforms, features and device support (#120060)
Co-authored-by: Teemu Rytilahti <tpr@iki.fi>
Co-authored-by: sdb9696 <steven.beth@gmail.com>
Co-authored-by: Steven B <51370195+sdb9696@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: Teemu R. <tpr@iki.fi>
2024-06-25 22:01:21 +02:00
Erik Montnemery 7d2ae5b3a5
Add WS command blueprint/substitute (#119890) 2024-06-25 20:15:11 +02:00
Jan Bouwhuis cbcf29720d
Cleanup common mqtt tests (#120446) 2024-06-25 19:15:11 +02:00
epenet 09e8f7e9bb
Improve type hints in deconz tests (#120388) 2024-06-25 17:44:03 +02:00
Mr. Bubbles 77fea8a73e
Add reauth flow to pyLoad integration (#120376)
Add reauth flow
2024-06-25 17:15:12 +02:00
epenet 6a370bde34
Adjust imports in samsungtv tests (#120409) 2024-06-25 17:08:10 +02:00
epenet 6e5bc0da94
Improve type hints in cloud tests (#120420) 2024-06-25 17:07:50 +02:00
J. Nick Koston edaa5c60a7
Small cleanups to ESPHome (#120414) 2024-06-25 17:00:03 +02:00
Aaron Godfrey f934fea754
Apply all todoist custom project filters for calendar events (#117454)
Co-authored-by: Robert Resch <robert@resch.dev>
2024-06-25 15:34:54 +02:00
Jan Bouwhuis aa05f73210
Add fixture to synchronize with debouncer in MQTT tests (#120373)
* Add fixture to synchronze with debouncer in MQTT tests

* Migrate more tests to use the debouncer

* Migrate more tests

* Migrate util tests

* Improve mqtt on_callback test using new fixture

* Improve test_subscribe_error

* Migrate other tests

* Import EnsureJobAfterCooldown from `util.py` but patch `client.py`
2024-06-25 14:26:20 +02:00
J. Nick Koston b5afc5a7f0
Fix incorrect mocking in ESPHome tests (#120410) 2024-06-25 13:31:50 +02:00
J. Nick Koston c15718519b
Improve test coverage for ESPHome manager (#120400) 2024-06-25 13:14:11 +02:00
epenet 76e890865e
Adjust imports in cloud tests (#120386) 2024-06-25 13:13:14 +02:00
epenet cbb3d48bd9
Improve type hints in dsmr tests (#120393) 2024-06-25 13:11:27 +02:00
Brett Adams de8bccb650
Add services to Teslemetry (#119119)
* Add custom services

* Fixes

* wip

* Test coverage

* Update homeassistant/components/teslemetry/__init__.py

Co-authored-by: G Johansson <goran.johansson@shiftit.se>

* Add error translations

* Translate command error

* Fix test

* Expand on comment as requested

* Remove impossible cases

---------

Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2024-06-25 12:44:06 +02:00
Erik Montnemery 0545ed8082
Section support for data entry flows (#118369)
* Add expandable support for data entry form flows

* Update config_validation.py

* optional options

* Adjust

* Correct translations of data within sections

* Update homeassistant/components/kitchen_sink/config_flow.py

Co-authored-by: Robert Resch <robert@resch.dev>

* Add missing import

* Update tests/components/kitchen_sink/test_config_flow.py

Co-authored-by: Robert Resch <robert@resch.dev>

* Format code

* Match frontend when serializing

* Move section class to data_entry_flow

* Correct serializing

* Fix import in kitchen_sink

* Move and update test

---------

Co-authored-by: Bram Kragten <mail@bramkragten.nl>
Co-authored-by: Robert Resch <robert@resch.dev>
2024-06-25 11:02:00 +02:00
epenet 3d1ff72a88
Improve type hints in device_automation tests (#120389) 2024-06-25 10:58:10 +02:00
Jan Bouwhuis 1d16cbec96
Move mqtt debouncer to mqtt utils (#120392) 2024-06-25 10:33:58 +02:00
epenet 46ed76df31
Improve type hints in diagnostics tests (#120391) 2024-06-25 10:07:05 +02:00
epenet f8d5c9144a
Improve type hints in device_tracker tests (#120390) 2024-06-25 10:06:38 +02:00
epenet 7f20c1a489
Improve type hints in demo tests (#120387) 2024-06-25 09:55:59 +02:00
Mr. Bubbles fd0fee1900
Add button platform to pyLoad integration (#120359) 2024-06-25 08:09:54 +02:00
Mr. Bubbles 59080a3a6f
Strip whitespace characters from token in One-Time-Passwort (OTP) integration (#120380) 2024-06-25 08:00:19 +02:00
Marc Mueller f1ddf80dff
Fix dlna_dms test RuntimeWarning (#120341) 2024-06-25 03:34:23 +02:00
Michael Hansen 1e16afb43b
Fix pylint error in Google generative AI tests (#120371)
* Fix pylint error

* Add second fix
2024-06-24 16:03:34 -05:00
Michael Hansen 6d917f0242
Don't run timer callbacks for delayed commands (#120367)
* Don't send timer events for delayed commands

* Don't run timer callbacks for delayed commands
2024-06-24 16:21:51 -04:00
starkillerOG bbb8bb31f9
Only raise Reolink re-auth flow when login fails 3 consecutive times (#120291) 2024-06-24 21:03:41 +02:00
epenet ea09d0cbed
Use HassKey in cloud integration (#120322) 2024-06-24 21:02:08 +02:00
epenet b223cb7bb9
Ensure config_entry is added to hass in tests (#120327) 2024-06-24 21:00:12 +02:00
David Knowles 3b79ab6e18
Reduce the amount of data fetched in individual Hydrawise API calls (#120328) 2024-06-24 20:58:54 +02:00
Michael Hansen 46dcf1dc44
Prioritize custom intents over builtin (#120358) 2024-06-24 20:57:56 +02:00
Jan Bouwhuis a7200a70b2
Set up mqtt tests from client fixture of mqtt entry setup fixture, not both (#120274)
* Fix entry setup and cleanup issues in mqtt tests

* Reduce changes by using mqtt_client_mock alias

* Reduce sleep time where possibe
2024-06-24 19:42:32 +02:00
Mr. Bubbles 1e5f4c2d75
Add additional sensors to pyLoad integration (#120309) 2024-06-24 18:56:33 +02:00
epenet 31157828e1
Improve type hints in cloudflare tests (#120344) 2024-06-24 18:55:36 +02:00
Robert Resch 641507a45a
Add change username endpoint (#109057) 2024-06-24 18:51:19 +02:00
epenet 8bad421a04
Improve type hints in config tests (#120346) 2024-06-24 18:36:57 +02:00
epenet 4089b808c3
Improve type hints in comfoconnect tests (#120345) 2024-06-24 18:33:51 +02:00
Erik Montnemery d073fd9b37
Improve integration sensor tests (#120326) 2024-06-24 18:33:08 +02:00
epenet 015bc0e172
Use HassKey in homeassistant integration (#120332) 2024-06-24 16:37:07 +02:00
Jan Bouwhuis 85720f9e02
Fix setup and tear down issues for mqtt discovery and config flow tests (#120333)
* Fix setup and tear down issues for mqtt discovery and config flow tests

* Use async callback
2024-06-24 16:20:44 +02:00
Jan Bouwhuis 389b9d1ad6
Make sure ACK's are processed before mqtt tests are teared down (#120329) 2024-06-24 15:16:09 +02:00
Erik Montnemery a5e6728227
Improve integration sensor tests (#120316) 2024-06-24 14:17:52 +02:00
epenet b4d0de9c0f
Improve type hints in conversation tests (#120306) 2024-06-24 13:41:55 +02:00
epenet aef2f7d707
Improve type hints in canary tests (#120305) 2024-06-24 13:34:44 +02:00