Commit graph

21894 commits

Author SHA1 Message Date
BestPig
7c5fcec062
Fix songpal crash for soundbars without sound modes (#119999)
Getting soundField on soundbar that doesn't support it crash raise an exception, so it make the whole components unavailable. As there is no simple way to know if soundField is supported, I just get all sound settings, and then pick soundField one if present. If not present, then return None to make it continue, it will just have to effect to display no sound mode and not able to select one (Exactly what we want).
2024-06-20 13:06:30 +02:00
epenet
1235338f1b
Fix hass-component-root-import warnings in otp tests (#120019) 2024-06-20 12:39:26 +02:00
Mr. Bubbles
1eb8b5a27c
Add config flow to One-Time Password (OTP) integration (#118493) 2024-06-20 10:03:29 +02:00
Jan Bouwhuis
60ba80a28d
Only (re)subscribe MQTT topics using the debouncer (#119995)
* Only (re)subscribe using the debouncer

* Update test

* Fix test

* Reset mock
2024-06-19 23:57:18 +02:00
Pete Sage
ebbb63cd08
Fix Sonos album images with special characters not displaying in media browser UI (#118249)
* initial commit

* initial commit

* simplify tests

* rename symbol

* original_uri -> original_url

* change symbol name

---------

Co-authored-by: Dave T <17680170+davet2001@users.noreply.github.com>
2024-06-19 22:38:49 +01:00
Erik Montnemery
f32cb8545c
Use MockHAClientWebSocket.send_json_auto_id in blueprint tests (#119956) 2024-06-19 23:07:56 +02:00
Robert Resch
bae008b0e2
Remove legacy_api_password auth provider (#119976) 2024-06-19 22:46:30 +02:00
Robert Svensson
49349de74e
Unifi break out switch availability test to separate test (#119990) 2024-06-19 22:40:13 +02:00
Franck Nijhof
6c80f865f5
Remove deprecated WLED binary sensor platform (#119984) 2024-06-19 20:29:40 +02:00
epenet
f0dc39a903
Improve typing in core tests (#119958)
Add missing return values in core tests
2024-06-19 19:58:07 +02:00
G Johansson
8e3b58dc28
Clean weather tests (#119916) 2024-06-19 19:55:20 +02:00
Jan Bouwhuis
8ad63a0020
Fix flaky todoist test (#119954)
Fix flakey todoist test
2024-06-19 20:43:05 +03:00
Robert Svensson
970836da0c
Clean up config option tests in UniFi device tracker tests (#119978) 2024-06-19 19:42:23 +02:00
Joost Lekkerkerker
6fa54229fe
Bump airgradient to 0.6.0 (#119962)
* Bump airgradient to 0.6.0

* Bump airgradient to 0.6.0

* Bump airgradient to 0.6.0

* Bump airgradient to 0.6.0
2024-06-19 20:38:57 +03:00
J. Nick Koston
6a3778c48e
Deprecate register_static_path in favor of async_register_static_paths (#119895)
* Deprecate register_static_path in favor of async_register_static_path

`hass.http.register_static_path` is deprecated because it does blocking I/O in the event loop, instead call `await hass.http.async_register_static_path([StaticPathConfig(url_path, path, cache_headers)])`

The arguments to `async_register_static_path` are the same as `register_static_path` except they are wrapped in the `StaticPathConfig` dataclass and an iterable of them is accepted to allow registering multiple paths at once to avoid multiple executor jobs.

* add date

* spacing
2024-06-18 21:51:24 -04:00
Joakim Plate
ef51fc0d97
Remove code slated for deletion in integral (#119935)
* Remove code slated for deletion in integral
2024-06-19 02:25:11 +02:00
J. Nick Koston
60e64d14af
Bump yalexs to 6.3.0 to move camera logic to the lib (#119941) 2024-06-18 18:52:41 -05:00
Maciej Bieniek
54f8b5afdf
Add pulse counter frequency sensors to Shelly (#119898)
* Add pulse counter frequency sensors

* Cleaning

---------

Co-authored-by: Maciej Bieniek <478555+bieniu@users.noreply.github.com>
2024-06-18 23:08:30 +02:00
Joost Lekkerkerker
8a38424c24
Add more airgradient configuration entities (#119191) 2024-06-18 22:34:11 +02:00
G Johansson
fe8805de6d
Remove deprecated blink refresh service (#119919)
* Remove deprecated blink refresh service

* Remove string

* Fix tests
2024-06-18 22:26:44 +02:00
Shay Levy
f61347719f
Allow removal of a Switcher device (#119927)
Allow removal of Switcher device
2024-06-18 23:26:29 +03:00
G Johansson
08864959ee
Remove YAML import for Suez Water (#119923)
Remove YAML import for suez water
2024-06-18 22:26:10 +02:00
HarvsG
adcd0cc2a4
DNS IP custom ports for IPv4 (#113993)
* squash DNS IP enable port

* linting

* fix config entries in tests.

* fix more config entries

* fix parameter order

* Add defaults for legacy config entries

* test legacy config are not broken

* test driven migration

* define versions for future proofing

* remove defaults as should be covered by migrations in the future

* adds config migration

* spacing

* Review: remove unnecessary statements

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

* Apply suggestions from code review

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

* make default ports the same

* test migration from future error

* linting

* Small tweaks

---------

Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2024-06-18 22:24:36 +02:00
Thomas55555
0a781b8fa2
Add button platform to Husqvarna Automower (#119856)
* Add button platform to Husqvarna Automower

* test coverage

* adapt to library changes

* Address review
2024-06-18 21:24:09 +02:00
MallocArray
be4db90c91
Update airgradient names to NOx index and VOC index (#119152)
* Update names to NOx index and VOC index

* Fix snapshots

* Fix snapshots

---------

Co-authored-by: Joostlek <joostlek@outlook.com>
2024-06-18 20:31:33 +02:00
epenet
ec9f2f698c
Add type hints to MockGroup and MockUser in tests (#119897) 2024-06-18 13:11:10 -05:00
J. Nick Koston
419dcbf9a1
Fix typo in KEY_ALLOW_CONFIGRED_CORS (#119905) 2024-06-18 12:44:27 -05:00
Erik Montnemery
7940303149
Add WS command frontend/subscribe_extra_js (#119833)
Co-authored-by: Robert Resch <robert@resch.dev>
2024-06-18 16:18:42 +02:00
Erik Montnemery
0ca3f25c57
Add WS command for subscribing to storage collection changes (#119481) 2024-06-18 16:15:42 +02:00
Paulus Schoutsen
3c08a02ecf
Update cover intent response (#119756)
* Update cover response

* Fix intent test
2024-06-18 15:54:08 +02:00
Josef Zweck
25b3fe6b64
Bump lmcloud to 1.1.13 (#119880)
* bump lmcloud to 1.1.12

* update diagnostics

* bump to 1.1.13
2024-06-18 14:49:04 +02:00
epenet
041746a50b
Improve type hints in data_entry_flow tests (#119877) 2024-06-18 13:25:28 +02:00
epenet
a1a8d38181
Move fixtures to decorators in netgear_lte tests (#119882) 2024-06-18 12:40:06 +02:00
epenet
f5fd389512
Fix hass-component-root-import warning in esphome tests (#119883) 2024-06-18 12:39:36 +02:00
Robert Hillis
dc388c76f9
Store runtime data inside the config entry in Steam (#119881) 2024-06-18 12:28:43 +02:00
Jan Bouwhuis
6eb9d1e01d
Gracefully disconnect MQTT entry if entry is reloaded (#119753) 2024-06-18 09:29:22 +02:00
Robert Hillis
d5d906e148
Add update coordinator to Netgear LTE (#115474) 2024-06-18 09:12:02 +02:00
dontinelli
2555827030
Replace Solarlog unmaintained library (#117484)
Co-authored-by: Robert Resch <robert@resch.dev>
2024-06-18 09:06:22 +02:00
J. Nick Koston
faa55de538
Fix blocking I/O in the event loop when registering static paths (#119629) 2024-06-18 08:18:31 +02:00
Paulus Schoutsen
eb89ce47ea
Inline primary integration (#119860) 2024-06-18 08:08:08 +02:00
Jesse Hills
f8711dbfbf
Add esphome native device update entities (#119339)
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-06-18 16:31:50 +12:00
Maciej Bieniek
f5dfefb3a6
Use the humidity value in Shelly Wall Display climate entity (#119830)
* Use the humidity value with the climate entity if available

* Update tests

* Use walrus

---------

Co-authored-by: Maciej Bieniek <478555+bieniu@users.noreply.github.com>
2024-06-17 23:17:05 +03:00
G Johansson
b6b6248713
Remove legacy get forecast service from Weather (#118664)
* Remove legacy get forecast service from Weather

* Fix tests

* Fix test

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-06-17 21:13:28 +02:00
J. Nick Koston
75e8fc0f9c
Fix homekit_controller haa fixture (#119855) 2024-06-17 13:34:05 -05:00
Joost Lekkerkerker
e5eef7c6dd
Fix Dremel 3D printer tests (#119853) 2024-06-17 19:17:52 +02:00
Maciej Bieniek
87c1d5a6a7
Remove the switch entity for Shelly Gas Valve (#119817)
Co-authored-by: Maciej Bieniek <478555+bieniu@users.noreply.github.com>
2024-06-17 19:17:06 +02:00
Erik Montnemery
8af5748716
Add frontend.remove_extra_js_url (#119831) 2024-06-17 15:15:00 +02:00
Erik Montnemery
c0a3b507c0
Add tests of frontend.add_extra_js_url (#119826) 2024-06-17 14:39:07 +02:00
Joost Lekkerkerker
9f46b582d3
Avoid touching internals in Radarr tests (#119821)
* Avoid touching internals in Radarr tests

* Fix

* Fix
2024-06-17 13:33:36 +02:00
Joost Lekkerkerker
cfbc854c84
Remove deprecated import swiss public transport import flow (#119813) 2024-06-17 13:24:10 +02:00