Commit graph

72367 commits

Author SHA1 Message Date
Joakim Sørensen
30e932f36d
Bump pytraccar from 2.0.0 to 2.1.0 (#110320) 2024-02-12 11:23:16 +01:00
Kevin Worrel
121f37b6b6
Correct screenlogic test's mock adapter name (#110317)
Correct mock adapter name
2024-02-12 11:20:33 +01:00
J. Nick Koston
aa67eb7f46
Migrate landisgyr_heat_meter to use async_update_entry to alter config entries (#110314) 2024-02-12 11:18:54 +01:00
J. Nick Koston
b5d9f275b9
Migrate google_assistant_sdk to use async_update_entry to alter config entries (#110307) 2024-02-12 11:16:44 +01:00
Åke Strandberg
8376c07969
Add myuplink diagnostics download (#109925)
* Dump all relevant data from API

* Cleanup and adjust

* Redact serialNumber

* WIP

* Add fixtures

* WIP

* Tests for diagnostics completed

* Address review comments

* Change to fake token

* Add missed redact

* Improve mocks

* Resolve review comments
2024-02-12 10:56:06 +01:00
Richard Kroegel
1b8bda6067
Remove old BMW vehicles/devices automatically (#110255)
* Remove not assigned vehicles from DeviceRegistry on startup

* Replace async_remove_device with async_update_device

* Add test

* Use generator

---------

Co-authored-by: Richard <rikroe@users.noreply.github.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-02-12 10:52:08 +01:00
Erik Montnemery
12709050ea
Fix color mode in comelit light (#110326) 2024-02-12 10:41:28 +01:00
Erik Montnemery
9c9fa11654
Fix color mode in hive light (#110330) 2024-02-12 10:21:43 +01:00
Maciej Bieniek
4f277b9509
Add pulse counter sensors for Shelly (#110248)
* Add pulse counter sensors to Shelly

* Add a unit for the pulse counter

* Fix removal condition

* xtotal key is not present in the payload if it has not been configured

* Update test

---------

Co-authored-by: Maciej Bieniek <478555+bieniu@users.noreply.github.com>
2024-02-12 09:42:38 +01:00
J. Nick Koston
5528ae9707
Migrate knx to use async_update_entry to alter config entries (#110312) 2024-02-12 09:39:05 +01:00
Luke Lashley
33cdcce191
Better teardown and setup of Roborock connections (#106092)
Co-authored-by: Robert Resch <robert@resch.dev>
2024-02-12 09:37:37 +01:00
J. Nick Koston
2516eafba6
Migrate axis to use async_update_entry to alter config entries (#110302) 2024-02-12 09:22:44 +01:00
J. Nick Koston
e3813d4134
Migrate blink to use async_update_entry to alter config entries (#110303) 2024-02-12 08:30:38 +01:00
J. Nick Koston
55022767ac
Migrate homematicip_cloud to use async_update_entry to alter config entries (#110308) 2024-02-12 08:29:37 +01:00
J. Nick Koston
303bb99da0
Migrate huawei_lte to use async_update_entry to alter config entries (#110309) 2024-02-12 08:28:54 +01:00
J. Nick Koston
73bb7d6830
Migrate forecast_solar to use async_update_entry to alter config entries (#110306) 2024-02-12 08:27:44 +01:00
J. Nick Koston
322b8b5be0
Migrate lametric to use async_update_entry to alter config entries (#110313) 2024-02-12 08:27:05 +01:00
J. Nick Koston
d6ba7bf506
Migrate ambient_station to use async_update_entry to alter config entries (#110305) 2024-02-11 21:45:34 -06:00
Marc Mueller
eadf2380d9
Update pytest to 8.0.0 (#109876) 2024-02-12 00:03:51 +01:00
Marc Mueller
2ef2172b01
Convert test helpers to get hass instance to contextmanagers (#109990)
* Convert get_test_home_assistant helper to contextmanager

* Convert async_test_home_assistant helper to contextmanager

* Move timezone reset to async_test_home_assistant helper
2024-02-11 21:23:51 +01:00
Jan-Philipp Benecke
3342e6ddbd
Avoid calling hass internals when adding mock config entry in Fully Kiosk (#110291) 2024-02-11 21:17:54 +01:00
Jan-Philipp Benecke
932d930084
Avoid calling hass internals when adding mock config entry in Blink (#110290) 2024-02-11 21:17:22 +01:00
starkillerOG
589e3952de
Fix TDBU naming in Motionblinds (#110283)
fix TDBU naming
2024-02-11 21:16:06 +01:00
G Johansson
7ce1ba9304
Fix cpu percentage in System Monitor (#110268)
* Fix cpu percentage in System Monitor

* Tests
2024-02-11 21:11:31 +01:00
Maciej Bieniek
326da81656
Add icon translations to Shelly (#110183)
Co-authored-by: Maciej Bieniek <478555+bieniu@users.noreply.github.com>
2024-02-11 14:07:10 -06:00
Floris272
7dc9ad63bd
Implement late feedback for Bluecurrent (#106918)
* Apply changes

* Fix MockClient

* Apply feedback

* Remove connector tests

* Change MockClient to inhert MagicMock

* Add reconnect tests and refactor mock client

* Refactor mock exception throwing

* Add future_fixture

* Move mocked client methods into create_client_mock

* Remove fixture and separate event from mock_client

* Add FutureContainer to store the loop_future
2024-02-11 20:57:38 +01:00
Marc Mueller
654ab54aa0
Update tqdm to 4.66.2 (#110277) 2024-02-11 20:11:08 +01:00
J. Nick Koston
e9f8bae693
Bump PySwitchbot to 0.45.0 (#110275) 2024-02-11 13:09:11 -06:00
J. Nick Koston
ab85ebb996
Bump thermopro-ble to 0.10.0 (#110279) 2024-02-11 13:08:49 -06:00
Marc Mueller
ba93cf0336
Update pre-commit to 3.6.1 (#110278) 2024-02-11 20:07:14 +01:00
Michael
ce37b84360
Bump aiopegelonline to 0.0.8 (#110274) 2024-02-11 20:06:47 +01:00
Matthias Alphart
8f2f869f46
Update xknxproject to 3.6.0 (#110282) 2024-02-11 20:01:16 +01:00
deosrc
e38cb01d81
Add missing log message for error resolving OAuth token (#107606) 2024-02-11 13:07:54 +00:00
David Bonnes
2e0ee11de5
Bump evohome-async to 0.4.19 (#110225)
bump client to 0.4.19
2024-02-11 13:31:51 +02:00
Martin Hjelmare
6b4920ffa6
Refactor tradfri tests (#110094)
* Refactor tradfri tests

* Refactor command store

* Fix fixture type annotations

* Fix test type errors
2024-02-11 12:01:12 +01:00
Maciej Bieniek
470de0a4de
Add icon translations to NextDNS (#110179)
Co-authored-by: Maciej Bieniek <478555+bieniu@users.noreply.github.com>
2024-02-11 10:20:01 +01:00
Simon Lamon
6c4e372908
Fix state classes issue translation in Group (#110238)
Fix state classes translation
2024-02-11 09:54:50 +01:00
Thomas55555
816f231e27
Bump aioautomower to 2024.2.4 (#110209)
* Bump aioautomower to 2024.2.3

* Bump aioautomower to 2023.2.4
2024-02-11 10:13:52 +02:00
Oliver
0c9f9486bf
Update denonavr to 0.11.6 (#110231)
* Update `denonavr` to `0.11.5`

* Handle `AvrProcessingError` exception

* Remove obsolete `_telnet_was_healthy` property from receiver

* Update `denonavr` to `0.11.6`
2024-02-11 09:29:40 +02:00
J. Nick Koston
2f7d71347e
Enable compression for manifest.json (#110229)
Now that compression is ~5x faster than base zlib, it makes
sense to compress this
2024-02-10 19:45:21 -05:00
chammp
a5cc0ae890
Improve package schema validation (#108125)
* Add failing tests for package config validation error wrapping

* Wrap package schema validation errors in HomeAssistantError

* Fix yamllint errors

* Rework package merge validation

Ignore invalid package definitions instead of failing startup.
Output error messages with locations if possible when a package
definition has errors.

* Ruff format

* Fix linter errors

* Move package_definition_schema to module scope

* Move inner function to module level

* Merge exception handlers

Merge exception handlers for config schema validation and package merge
to avoid untested code branches

* Fix long lines and doc strings

* More minor changes to exception handler

---------

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2024-02-10 20:16:20 +01:00
Simon Lamon
fa4433c569
Fix device class repairs issues placeholders in Group (#110181)
fix translation placeholders
2024-02-10 20:09:02 +01:00
J. Nick Koston
1e7cd7c0c6
Update airvisual to set ConfigEntry version with async_update_entry (#110204)
* Update airvisual to set ConfigEntry version with async_update_entry

* Update airvisual to set ConfigEntry version with async_update_entry
2024-02-10 19:57:53 +01:00
J. Nick Koston
b3e46e3d64
Update airnow to set ConfigEntry version with async_update_entry (#110202) 2024-02-10 19:55:38 +01:00
J. Nick Koston
6b913546b9
Update swiss_public_transport to set ConfigEntry version with async_update_entry (#110197) 2024-02-10 19:54:35 +01:00
J. Nick Koston
991bef7ea0
Update prusalink to set ConfigEntry version with async_update_entry (#110196) 2024-02-10 19:53:35 +01:00
J. Nick Koston
118712d38d
Update islamic_prayer_times to set ConfigEntry version with async_update_entry (#110194) 2024-02-10 19:52:45 +01:00
J. Nick Koston
087e52af6e
Update switch_as_x to set ConfigEntry version with async_update_entry (#110193)
* Update switch_as_x to set ConfigEntry version with async_update_entry

* lint
2024-02-10 19:51:47 +01:00
J. Nick Koston
a48c1ac57e
Only schedule august activity update when a new activity is seen (#110141) 2024-02-10 09:29:49 -06:00
J. Nick Koston
3441b93c5c
Update systemmonitor to set config entry version using async_update_entry (#110192) 2024-02-10 09:20:16 -06:00