Commit graph

80615 commits

Author SHA1 Message Date
Robert Svensson
a90d41d9e7
Use snapshot in deCONZ binary sensor tests ()
* Use snapshot in deCONZ binary sensor tests

* Fix typing in button test
2024-07-24 09:01:34 +02:00
Robert Svensson
4c7828fd50
Improve deCONZ fan tests ()
* Improve fan tests

* Use snapshots
2024-07-24 09:01:09 +02:00
Jan Stienstra
99aa68c93f
Use runtime_data instead of hass.data for Jellyfin ()
* Use runtime_data instead of hass.data

* Process review
2024-07-24 08:53:01 +02:00
ribbal
6dd43be6ac
Fix incorrect enum option in Hive heating sensor ()
* add missing sensors

* add missing sensors

* add missing sensors

* add missing sensors

* add missing sensors

* add missing sensors

* add missing sensors

* add missing sensors

* add missing sensors

* add missing sensors

* add missing sensors

* add missing sensors

* add temperature and mode sensors

* add temperature and mode sensors

* add temperature and mode sensors

* add temperature and mode sensors

* add temperature and mode sensors

* add temperature and mode sensors

* add temperature and mode sensors

* add temperature and mode sensors

* add temperature and mode sensors

* add temperature and mode sensors

* Fix defect with Hive heating sensor options
2024-07-24 08:50:44 +02:00
Avi Miller
67f7e97b4c
Bump aiolifx-themes to v0.5.0 ()
Signed-off-by: Avi Miller <me@dje.li>
2024-07-24 08:46:29 +02:00
Robert Svensson
902bf4ae86
Use snapshot in deCONZ button tests ()
Use snapshot in button tests
2024-07-24 08:44:10 +02:00
Noah Husby
b7b3094a49
Bump aiorussound to 2.2.0 () 2024-07-24 08:40:54 +02:00
J. Nick Koston
e1e64be3c9
Remigrate device_registry created_at/modified_at ()
* Remigrate device_registry created_at/modified_at

Nightly current does not boot up because the device registry
will have KeyError: created_at if the previous nightly was
installed.

* reduce

* split migration per discord comments
2024-07-23 15:47:27 -05:00
Christopher Fenner
f135d3d16c
Fix device class on sensor in ViCare ()
update device class on init
2024-07-23 22:56:46 +03:00
Álvaro Fernández Rojas
fd6f1cfbdc
Update aioairzone-cloud to v0.5.5 ()
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-07-23 22:55:18 +03:00
Marc Mueller
ac86738572
Update pylutron to 0.2.15 () 2024-07-23 22:41:16 +03:00
Robert Svensson
ad38b9e9e1
Use snapshot validation on Axis binary sensor ()
* Use snapshot validation on binary sensor

* Use snapshot_platform

* Clean up

* Improve typign
2024-07-23 22:30:03 +03:00
Robert Svensson
e6ef8a34a7
Tweak deCONZ init and hub tests ()
* Improve typing of init tests

* Clean up gateway test

* Validate deconz device registry entry

* Rename gateway to hub

* Snake case BRIDGEID to BRIDGE_ID
2024-07-23 22:29:48 +03:00
Álvaro Fernández Rojas
2730713b39
Update aioairzone to v0.8.1 ()
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-07-23 14:22:42 -05:00
Robert Resch
e00f159ebe
Fix loading created_at/modified_at from entity registry store () 2024-07-23 21:15:12 +02:00
Álvaro Fernández Rojas
57c554f516
Update AEMET-OpenData to v0.5.3 () 2024-07-23 13:48:34 -05:00
Robert Svensson
34f1443a5a
Improve Axis hub tests ()
* Improve some of the hub tests

* Replace constant "name" with "home"

* Add snapshot

* Simplify

* Clean up
2024-07-23 19:54:43 +02:00
Robert Svensson
b53800a69d
Tweak axis test fixtures ()
* Don't automatically add config entry to hass

* Improve RTSP fixture typing

* Improve typing of config entry factory and remove unnecessary use of it

* Remove redundant fixture in config flow tests

* Parametrize config flow error test
2024-07-23 19:27:38 +02:00
ribbal
1b7fb9ae12
Create additional sensors in Hive integration ()
* add missing sensors

* add missing sensors

* add missing sensors

* add missing sensors

* add missing sensors

* add missing sensors

* add missing sensors

* add missing sensors

* add missing sensors

* add missing sensors

* add missing sensors

* add missing sensors

* add temperature and mode sensors

* add temperature and mode sensors

* add temperature and mode sensors

* add temperature and mode sensors

* add temperature and mode sensors

* add temperature and mode sensors

* add temperature and mode sensors

* add temperature and mode sensors

* add temperature and mode sensors

* add temperature and mode sensors
2024-07-23 19:21:58 +02:00
J. Nick Koston
6bdc5be433
Bump aiohttp to 3.10.0b1 () 2024-07-23 12:10:22 -05:00
Noah Husby
d78327a72f
Add dynamic media player features to Russound ()
Add dynamic media player features
2024-07-23 18:37:24 +02:00
ilan
0a62a4459f
Add 100% test coverage to Madvr ()
* feat: add 100% test coverage

* fix: dont patch logger

* fix: better names

* fix: use consts

* fix: use built in const
2024-07-23 18:06:26 +02:00
Michael Hansen
3ba2a0518e
Switch to official ollama library, update models ()
* Switch to mainstream ollama library, update models

* Fix mypy error
2024-07-23 10:57:54 -05:00
Matthias Alphart
d7b0d1a50e
Use dispatcher for KNX GroupMonitor instead of custom HassJob () 2024-07-23 17:47:45 +02:00
David Bonnes
42b9c0448c
Add coordinator to evohome and prune async_update code ()
* functional programming tweak

* doctweak

* typing hint

* rename symbol

* Switch to DataUpdateCoordinator

* move from async_setup to EvoBroker

* tweaks - add v1 back in

* tidy up

* tidy up docstring

* lint

* remove redundant logging

* rename symbol

* split back to inject authenticator clas

* rename symbols

* rename symbol

* Update homeassistant/components/evohome/__init__.py

Co-authored-by: Joakim Plate <elupus@ecce.se>

* allow exception to pass through

* allow re-authentication with diff credentials

* lint

* undo unrelated change

* use async_refresh instead of async_config_entry_first_refresh

* assign None instead of empty dict as Falsey value

* use class attrs instead of type hints

* speed up mypy hint

* speed up mypy check

* small tidy up

* small tidy up

---------

Co-authored-by: Joakim Plate <elupus@ecce.se>
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2024-07-23 16:47:53 +02:00
Marc Mueller
da6a7ebd42
Update clientsession socket family typing () 2024-07-23 09:04:09 -05:00
Phill (pssc)
f260d63c58
Add squeezebox server device with common init ()
* squeezebox moves common elements into __init__ to allow for server sensors and device, improves player device

* Update with feedback from PR

* squeezebox Formating fixes, Logging Fixes, remove nasty stored callback

* squeezebox Formating fixes, Logging Fixes, remove nasty stored callback

* squeezebox refactor to use own ConfigEntry and Data

* squeezebox remove own data class

* Update homeassistant/components/squeezebox/__init__.py

Correct typo

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

* Update homeassistant/components/squeezebox/media_player.py

Stronger typing on entry setup SqueezeboxConfigEntry

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

* squeezebox add SqueezeboxConfigEntry

* squeezebox fix mypy type errors

* squeezebox use right Callable

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-07-23 15:53:58 +02:00
Marc Mueller
ff467463f8
Update pytest warnings filter () 2024-07-23 15:50:14 +02:00
Marc Mueller
5727f30026
Changes for aiohttp 3.10.0 () 2024-07-23 15:37:26 +02:00
starkillerOG
32cd54b1e3
Fix flaky Reolink tests () 2024-07-23 08:35:02 -05:00
Robert Resch
51ef5cd3ba
Add model_id to Ecovacs integration () 2024-07-23 15:28:16 +02:00
Stefan Agner
07b2a7537b
Add Matter update entities for devices with OTA requestor ()
* Add Matter update entities for devices with OTA requestor

Matter devices which support the OTA requestor cluster can receive
updates from a OTA provider. The Home Assistant Python Matter Server
implements such an OTA provider now.

Add update entities for devices which support the OTA requestor cluster
and check for available updates. Allow the user to update the firmware.
The update progress will be read directly from the devices' OTA
requestor cluster.

* Update homeassistant/components/matter/update.py

Co-authored-by: TheJulianJES <TheJulianJES@users.noreply.github.com>

* Bump python-matter-server to 6.3.0

This includes models and commands required for device firmware updates.

* Fix tests by including the new bluetooth_enabled field

* Add update entity tests

* Fix update entity test

* Update entity picture docstring

* Add note about reasons for progress state change update

* Enable polling for update entities by default

Matter entities don't enable polling any longer. Enable polling for
update entities by default.

* Add comment about why Update entities are polled

---------

Co-authored-by: TheJulianJES <TheJulianJES@users.noreply.github.com>
2024-07-23 15:25:02 +02:00
starkillerOG
b46b74df90
Check for incompatible special chars in Reolink password () 2024-07-23 15:22:23 +02:00
Marc Mueller
156a2427ff
Use aiohttp.ClientTimeout for timeout () 2024-07-23 08:20:04 -05:00
Robert Resch
545514c5cd
Add created_at/modified_at to category registry () 2024-07-23 14:39:38 +02:00
Erik Montnemery
92acfc1464
Indicate database migration in /api/core/state response ()
* Indicate database migration in /api/core/state response

* Change API response according to review comment

* Adjust API response

* Update test

* Add test
2024-07-23 14:13:08 +02:00
Stefan Agner
73ea62edd4
Disable polling for Matter entities by default ()
Matter entities don't implement async_update, they get their update
from the Matter subscriptions through the WebSocket from the Matter
Server. This change disables polling for all Matter Entities by
default.
2024-07-23 13:43:12 +02:00
starkillerOG
1fd3c9d6dd
Replace Reolink HDR switch by HDR select entity ()
* Add HDR select

* Update strings.json

* Update strings.json

* add icon

* remove HDR switch

* cleanup old HDR switch

* add tests

* Keep HDR switch entity around untill HA 2025.2.0

* Add repair issue

* Update strings.json

* fixes and review comments

* Add tests

* Update homeassistant/components/reolink/strings.json

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

* Update homeassistant/components/reolink/switch.py

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

* fixes and simplify

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-07-23 13:28:33 +02:00
Robert Resch
0d765a27c9
Add created_at/modified_at to entity registry () 2024-07-23 13:12:29 +02:00
Brett Adams
8d14095cb9
Improve API calls in Teslemetry ()
* Improve API calls

* Small tweak

* typing fixtures
2024-07-23 12:59:25 +02:00
fustom
77282ed4b0
Use external temp if needed in Broadlink ()
* Use external temp for current temp depends on the sensor state

* Add SensorMode enum

* Add tests for Broadlink climate

* Check is the sensor included in the data

* Use IntEnum as parent of SensorMode

* Use SensorMode enum value for sensor test data

* Parametrizing tests

* Readd accidentally removed assert

* Use local sensor variable

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

* Refactor test_climate. Check call_counts.

* Add parameter types

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

* Update homeassistant/components/broadlink/climate.py

---------

Co-authored-by: Robert Resch <robert@resch.dev>
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-07-23 12:30:06 +02:00
Marcel van der Veldt
632dec614a
Fix several issues with the Matter Generic Switch Cluster () 2024-07-23 10:10:32 +02:00
Franck Nijhof
d3d91a83e5
Update wled to 0.20.0 () 2024-07-23 09:56:23 +02:00
Erik Montnemery
108dc3795e
Remove incorrect use of Mock.assert_has_calls from recorder tests ()
* Remove incorrect use of Mock.assert_has_calls from recorder tests

* Fix test
2024-07-23 09:39:27 +02:00
Joost Lekkerkerker
cd48278671
Extract Geniushub base entities in separate module () 2024-07-23 09:34:00 +02:00
Allen Porter
be4c7291bd
Update google tasks to return completed items () 2024-07-23 09:31:22 +02:00
dependabot[bot]
4674502b92
Bump docker/login-action from 3.2.0 to 3.3.0 ()
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-23 09:24:52 +02:00
Robert Svensson
4ee256633b
Deduplicate light data with deCONZ websocket fixture () 2024-07-23 08:40:30 +02:00
J. Nick Koston
0039f1bb49
Make frontend url and route a cached_property () 2024-07-23 08:39:18 +02:00
Denis Shulyaka
975cfa6457
Fix gemini api format conversion ()
* Fix gemini api format conversion

* add tests

* fix tests

* fix tests

* fix coverage
2024-07-22 17:56:13 -07:00