Commit Graph

25818 Commits (a135b4bb432ec47c1900771277fc5dab2acd970e)

Author SHA1 Message Date
epenet 1ad2598c6f
Use runtime_data in ecoforest (#136689) 2025-01-28 08:48:59 +01:00
epenet b43379be7d
Standardize `helpers.xxx_registry` imports (#136688)
Standardize registry imports
2025-01-28 08:48:34 +01:00
Artem Sorokin 0cd7aff6ea
Add power/energy sensor for Matter draft electrical measurement cluster (#132920) 2025-01-28 08:37:39 +01:00
Paulus Schoutsen 5690516852
ChatSession: Split native content out of message class (#136668)
Split native content out of message class
2025-01-27 21:12:42 -08:00
Abílio Costa 5a53ed9e5b
Merge Whirlpool tests into a parameterized test (#136490)
* Use fixtures in config flow tests for Whirlpool

* Keep old tests; new one will go to separate PR

* Merge Whirlpool tests into a parameterized test

* Address review comments

* Remove uneeded block wait calls
2025-01-28 00:51:40 +01:00
J. Nick Koston e0ea5bfc51
Add Bluetooth WebSocket API to subscribe to connection allocations (#136215) 2025-01-27 11:49:49 -10:00
J. Nick Koston 7cf20c95c2
Log the error when the WebSocket receives a error message (#136492)
* Log the error when the WebSocket receives a non-text message

related issue #126754

Right now we only log that it was a non-Text message
and silently swallow the exception

* coverage
2025-01-27 15:38:18 -05:00
Steven B. c12fa34e33
Add support for tplink siren turn on parameters (#136642)
Add support for tplink siren parameters - Allow passing tone, volume, and duration for siren's play action.

---------

Co-authored-by: Teemu Rytilahti <tpr@iki.fi>
2025-01-27 21:27:29 +01:00
Michael Hansen b633a0424a
Add HassClimateSetTemperature (#136484)
* Add HassClimateSetTemperature

* Use single target constraint
2025-01-27 14:18:31 -06:00
Allen Porter 58b4556a1d
Add the Model Context Protocol integration (#135058)
* Add the Model Context Protocol integration

* Improvements to mcp integration

* Move the API prompt constant

* Update config flow error handling

* Update test descriptions

* Update tests/components/mcp/test_config_flow.py

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

* Update tests/components/mcp/test_config_flow.py

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

* Address PR feedback

* Update homeassistant/components/mcp/coordinator.py

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>

* Move tool parsing to the coordinator

* Update session handling not to use a context manager

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2025-01-27 14:38:52 -05:00
Denis Shulyaka 85540cea3f
Add LLM ActionTool (#136591)
Add ActionTool
2025-01-27 14:21:27 -05:00
Michael Hansen 7497beefed
Add single target constraint to async_match_targets (#136643)
Add single target constraint
2025-01-27 14:06:21 -05:00
Marcel van der Veldt 557b9d88b5
Catch and convert MatterError when sending device commands (#136635) 2025-01-27 19:36:16 +01:00
Michael Hansen 3984565084
Bump voip-utils to 0.3.0 (#136648) 2025-01-27 11:42:00 -06:00
Maciej Bieniek ea92523af4
Bump aioshelly to 12.3.2 (#136486)
* Bump aioshelly

* Add timeout parameter for call_rpc

* Increase timeout for BLU TRV

* Log timeout

* Update test

* Use const in test

* Coverage
2025-01-27 18:06:03 +01:00
Splint77 7c87bb2ffb
Twinkly RGBW color fixed (#136593) 2025-01-27 15:53:26 +00:00
Marcel van der Veldt b9c3548b5a
Change discovery schema for Matter Identify button to ignore type of None (#136621) 2025-01-27 16:42:22 +01:00
Arie Catsman 679b7f4032
Fix test logic flaw in enphase_envoy test_select (#136570)
* Fix test logic flaw in enphase_envoy test_select

* Replace test loops by test parameters

* Implement review feedback to Improve use of parametrize parameters
2025-01-27 09:40:39 -06:00
epenet 7dc2b92452
Use typed coordinator and runtime_data in eafm (#136629)
* Move coordinator and use runtime_data in eafm

* Add type hints
2025-01-27 15:05:20 +01:00
epenet 111906f54e
Add missing exclude_integrations in lovelace compatibility code (#136618)
Add missing exclude_integrations in lovelace
2025-01-27 12:41:25 +01:00
Ludovic BOUÉ 6015c936b0
Add a Matter temperature sensor based on `Thermostat` device `LocalTemperature` attribute (#133888) 2025-01-27 11:35:33 +01:00
starkillerOG f1dfae6937
Ask for permission to disable Reolink privacy mode during config flow (#136511) 2025-01-27 10:52:48 +01:00
epenet 1e0165c5f7
Add lovelace compatiblity code (#136617)
* Add lovelace compatiblity code

* Docstring

* Add tests
2025-01-27 10:16:13 +01:00
epenet ffdb686363
Use runtime_data in crownstone (#136406)
* Use runtime_data in crownstone

* Move some logic into __init__

* Remove underscore in async_update_listener
2025-01-27 10:15:53 +01:00
Cyrill Raccaud 33a23ad1c6
Add diagnostic sensors for the active subscription of Cookidoo (#136485)
* add diagnostics for the active subcription

* fix mapping between api and ha states for subscription

* multiline lambda
2025-01-27 08:43:30 +01:00
Erik Montnemery 245ee2498e
Update hassio to use the backup integration to make backups before update (#136235)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2025-01-27 08:25:22 +01:00
Allen Porter 69938545df
Push more of the LLM conversation agent loop into ChatSession (#136602)
* Push more of the LLM conversation agent loop into ChatSession

* Revert unnecessary changes

* Revert changes to agent id filtering
2025-01-26 22:16:19 -05:00
Arie Catsman 642a06b0f0
Optimize enphase_envoy test integration setup. (#136572) 2025-01-26 17:38:45 -06:00
starkillerOG 17e12e6671
Prevent errors when Reolink privacy mode is turned on (#136506) 2025-01-26 22:44:15 +01:00
Jan Bouwhuis 3e0f6562c7
Cleanup stale devices on incomfort integration startup (#136566) 2025-01-26 14:57:32 -06:00
Steven B. 7133eec185
Bump python-kasa to 0.10.0 (#136586)
Bump python-kasa to 0.10.0

Release notes: https://github.com/python-kasa/python-kasa/releases/tag/0.10.0
2025-01-26 21:43:31 +01:00
Joris Pelgröm db2fed2034
Fix LetPot reauthentication flow tests setting up config entry (#136589)
Fix LetPot reauth tests setting up config entry
2025-01-26 09:42:44 -08:00
epenet feb65c7e9f
Fix optional argument in deconz test type definition (#136411) 2025-01-26 17:42:10 +01:00
Andrew Sayre b27ee261bb
Fix HEOS play media type playlist (#136585) 2025-01-26 17:25:30 +01:00
Dan Raper 7044771876
Add select platform to Ohme (#136536)
* Add select platform

* Formatting

* Add parallel updates to select

* Remove comments
2025-01-26 13:52:01 +01:00
Markus Adrario 93a231fb19
Homee cover-test (#136563)
initial cover-test
2025-01-26 13:49:28 +01:00
Martin Hjelmare 1a57992e78
Add restore backup tests (#136538)
* Test restore backup with busy manager

* Test restore backup with agent error

* Test restore backup with file error
2025-01-25 18:20:41 -06:00
Michael cf8409dcd2
Add backup agent to Synology DSM (#135227)
* pre-alpha state

* small type

* use ChunkAsyncStreamIterator from aiohttp_client helper

* create parent folders during upload if none exists

* check file station permissionsduring setup

* ensure backup-agents are reloaded

* adjust config flow

* fix check for availability of file station

* fix possible unbound

* add config flow tests

* fix existing tests

* add backup tests

* backup listeners are not async

* some more tests

* migrate existing config entries

* fix migration

* notify backup listeners only when needed during setup

* add backup settings to options flow

* switch back to the listener approach from the dev docs example

* add negative tests

* fix tests

* use HassKey

* fix tests

* Revert "use HassKey"

This reverts commit 71c5a4d6fa9c04b4907ff5f8df6ef7bd1737aa85.

* use hass loop call_soon instead of non-eager-start tasks

* use HassKey for backup-agent-listeners

* delete empty backup-agent-listener list from hass.data

* don't handle single file download errors

* Apply suggestions from code review

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

* add more tests

* we don't have entities related to file_station api

* add more backup tests

* test unload backup agent

* revert sorting of properties

* additional use hass config location for default backup path

---------

Co-authored-by: J. Nick Koston <nick@koston.org>
2025-01-25 22:31:30 +01:00
Christopher Fenner 5e6f624938
Add heat pump heating rod sensors in ViCare integration (#136467)
* add heating rod sensors

* add labels

* update snapshot
2025-01-25 21:42:49 +01:00
Abílio Costa 42f7bd0a8f
Reuse fixtures in config flow tests for Whirlpool (#136489)
* Use fixtures in config flow tests for Whirlpool

* Keep old tests; new one will go to separate PR
2025-01-25 19:30:52 +02:00
Andrew Sayre 2fb85aab8e
Incorporate GroupManager into HEOS Coordinator (#136462)
* Incorporate GroupManager

* Update quality scale

* Fix group params

* Revert quality scale change

* Rename varaible

* Move group action implementaton out of coordinator

* Fix get_group_members hass access

* entity -> entity_id
2025-01-25 18:04:33 +01:00
Joost Lekkerkerker 2db301fab9
Fix Spotify flaky test (#136529) 2025-01-25 18:53:27 +02:00
TimL 05bdfe7aa6
Abort config flow is device is unsupported (#136505)
* Abort config flow if device is not yet supported

* Abort on user step for unsupported device

* Add string for unsupported device

* fix tests due to extra get_info calls

* add tests for unsupported devices to abort flow
2025-01-25 13:17:38 +01:00
Ludovic BOUÉ 71d63bac8d
Add TemperatureLevel feature from Matter TemperatureControl cluster (#134532) 2025-01-25 12:22:45 +01:00
Joost Lekkerkerker fb04c256a8
Refactor EZVIZ config flow tests (#136434) 2025-01-25 10:43:22 +01:00
Steven B. 28951096a8
Update tplink climate platform to use thermostat module (#136166) 2025-01-25 10:38:06 +01:00
Christian 9993a68a55
Powerwall: Reuse authentication cookie (#136147)
Co-authored-by: J. Nick Koston <nick@koston.org>
2025-01-24 11:52:24 -10:00
Joost Lekkerkerker f5fc46a7be
Make Spotify polling interval dynamic (#136461) 2025-01-24 22:03:46 +01:00
Artur Pragacz fc9ad40ac8
Reorganize input sources in Onkyo options (#133511) 2025-01-24 15:45:53 +01:00
epenet 384c173ab3
Use runtime_data in directv (#136435) 2025-01-24 14:14:42 +01:00
David Knowles 7050dbb66d
Refactor the Hydrawise config flow (#135886)
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2025-01-24 14:13:54 +01:00
Shay Levy 47efb68780
Add missing translations for LG webOS TV and fix names (#136438) 2025-01-24 14:13:10 +01:00
Erwin Douna 5d353a9833
Tado change to async and add Data Update Coordinator (#134175)
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2025-01-24 13:05:54 +01:00
Andrew Sayre a3ba3bbb1d
Incorporate SourceManager into HEOS Coordinator (#136377)
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2025-01-24 11:56:41 +01:00
Thomas55555 5a30156372
Bump aioautomower to 2025.1.1 (#136365) 2025-01-23 22:38:38 -10:00
epenet 8b08cb9bc1
Use runtime_data in coolmaster (#136405)
* Use runtime_data in coolmaster

* Adjust test
2025-01-24 08:58:35 +01:00
G Johansson e44cfa00af
Remove deprecated 17track package sensor (#136389) 2025-01-24 08:43:18 +01:00
Shay Levy fe67069c91
Add translated action exceptions to LG webOS TV (#136397)
* Add translated action exceptions to LG webOS TV

* Apply suggestions from code review

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

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2025-01-24 02:07:24 +02:00
Paulus Schoutsen 005ae3ace6
Allow LLMs to get calendar events from exposed calendars (#136304) 2025-01-23 17:54:04 -05:00
Michael Hansen 414fa4125e
Don't translate state names in default agent responses (#136382)
Don't translate state names in responses
2025-01-23 16:03:48 -06:00
Claudio Ruggeri - CR-Tech 5e34babc39
Fix slave id equal to 0 (#136263)
Co-authored-by: J. Nick Koston <nick@koston.org>
2025-01-23 11:12:02 -10:00
Andrew Sayre 507239c661
Incorporate ControllerManager into HEOS Coordinator (#136302)
* Integrate ControllerManager

* Test for uncovered

* Correct test docstring

* Cast entry before graph access

* Assert config_entry state in reauth

* Use implicit casting
2025-01-23 12:52:56 -06:00
Steven B. 2466df2b78
Fix tplink deprecated entity cleanup (#136160) 2025-01-23 19:51:56 +01:00
Arie Catsman c98df36b75
Bump pyenphase to 1.23.1 (#136200) 2025-01-23 19:05:57 +01:00
Jan Bouwhuis 33ce795695
Improve error handling for incomfort gateway (#136317) 2025-01-23 18:26:28 +01:00
Åke Strandberg 3da9c599dc
Avoid keyerror on incomplete api data in myuplink (#136333)
* Avoid keyerror

* Inject erroneous value in device point fixture

* Update diagnostics snapshot
2025-01-23 19:04:00 +02:00
Joost Lekkerkerker 132f418f92
Add reconfigure flow to Airgradient (#136324)
* Add reconfigure flow to Airgradient

* Update homeassistant/components/airgradient/strings.json

---------

Co-authored-by: Robert Resch <robert@resch.dev>
2025-01-23 16:53:31 +02:00
Martin Hjelmare dabcc6d55a
Clean up remaining backup manager tests (#136335) 2025-01-23 15:23:44 +01:00
Franck Nijhof f6a040d598
Update peblar to v0.4.0 (#136329)
* Update peblar to v0.4.0

* Update snapshots
2025-01-23 15:02:30 +02:00
Shay Levy 66f945e852
Bump aiowebostv to 0.6.0 (#136206) 2025-01-23 13:51:24 +01:00
Joost Lekkerkerker 40ed0562bc
Add translated action exceptions to Airgradient (#136322)
* Add translated action exceptions to Airgradient

* Add translated action exceptions to Airgradient
2025-01-23 14:48:46 +02:00
Gerben Jongerius d6f6961674
Restructure the youless integration internals (#135842) 2025-01-23 13:35:21 +01:00
Abílio Costa 75738f2105
Add system_health the to Network component (#135514) 2025-01-23 12:30:46 +01:00
epenet 10cfef1f3e
Cleanup map references in lovelace (#136314)
* Cleanup map references in lovelace

* Cleanup fixtures
2025-01-23 10:10:37 +01:00
Fábio Domingues 8172afd9f4
Auto select thermostat preset when selecting temperature (#134146) 2025-01-23 09:41:29 +01:00
Christopher Fenner 40348890da
Add heat pump supply pressure sensor in ViCare integration (#136265) 2025-01-23 09:15:24 +01:00
J. Nick Koston b839a2e2bd
Fix handling of non-supported devices in led-ble (#136300) 2025-01-23 09:09:11 +01:00
Dan Raper 95b49fd2bc
Add time platform to ohme (#136289) 2025-01-23 08:20:03 +01:00
Nathan Spencer 90bd783fff
Standardize DOMAIN usage in litterrobot tests (#136290)
* Standardize DOMAIN usage in litterrobot tests

* Fix additional DOMAIN references in tests

* Make platform domain usage more clear in tests
2025-01-23 08:17:59 +01:00
Jeff Terrace 68b6a7c987
Add TP-Link Tapo pet detection to onvif parsers (#136303) 2025-01-22 18:19:09 -10:00
Yuxin Wang 43d8c0bb6e
Fallback to None for literal "Blank" serial number for APCUPSD integration (#136297)
* Fallback to None for Blank serial number

* Fix comments
2025-01-22 22:10:52 -06:00
Petro31 4a7e009f27
Allow time triggers with offsets to use input_datetimes (#131550) 2025-01-22 21:57:13 +00:00
Thomas Lake cad49453eb
ping: Suppress ProcessLookupError on timeout (#134281) 2025-01-22 22:30:04 +01:00
Nathan Spencer 33f966a12e
Convert LitterRobotHub to a DataUpdateCoordinator (#136283) 2025-01-22 22:20:13 +01:00
Dan Raper e3c836aa7d
Add number platform to ohme (#136271)
Co-authored-by: Shay Levy <levyshay1@gmail.com>
2025-01-22 22:19:54 +01:00
Andrew Sayre 52f77626f7
Implement Coordinator for HEOS (initial plumbing) (#136205) 2025-01-22 22:12:05 +01:00
Maciej Bieniek 5f67461c26
Provide beta release note for Shelly RPC devices (#136154)
* Return beta release note for Shelly RPC devices

* Cleaning

* Fix test

* Move release note check
2025-01-22 21:00:42 +02:00
Arie Catsman 8c0515aff2
Set enphase_envoy CT Status flags entity_category to diagnostics. (#136241) 2025-01-22 21:00:12 +02:00
Joost Lekkerkerker 9f2a6af1ec
Only add Overseerr event if we are push based (#136258) 2025-01-22 20:58:48 +02:00
Erik Montnemery ea9be01c7c
Indicate in WS API when scheduling additional automatic backup (#136155) 2025-01-22 18:01:46 +00:00
Álvaro Fernández Rojas 4e494aa393
Allow multiple Airzone entries with different System IDs (#135397)
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2025-01-22 17:41:58 +00:00
Joost Lekkerkerker 7a78f87fa6
Clean up attributes of Overseerr event entity (#136251) 2025-01-22 15:17:57 +01:00
Joost Lekkerkerker eb20a00aa2
Add reconfigure flow to Overseerr (#136248) 2025-01-22 14:55:17 +01:00
Joost Lekkerkerker 194d59df03
Add reauth flow to Overseerr (#136247) 2025-01-22 14:23:00 +01:00
Joost Lekkerkerker 5e63e02ebc
Handle invalid auth in Overseerr (#136243) 2025-01-22 13:47:13 +01:00
J. Nick Koston a150e39922
Bump httpx to 0.28.1, httpcore to 1.0.7 along with required deps (#133840) 2025-01-22 12:50:00 +01:00
Thijs W. 99d1c51a3b
Fix passing value to pymodbus low level function (#135108) 2025-01-22 12:33:21 +01:00
Ludovic BOUÉ 1ea6cba1f5
Handle empty string `BatReplacementDescription` from Matter attribute value (#134457) 2025-01-22 12:28:18 +01:00
Andrew Sayre f4d6cb45e5
Add repeat feature to HEOS media player (#136180) 2025-01-22 12:25:56 +01:00
Arie Catsman 03be8a039c
Use icon translations for enphase_envoy. (#136190) 2025-01-22 09:54:45 +01:00