25775 Commits

Author SHA1 Message Date
Michael
8300fd2de8
Introduce unique_id to BackupAgent (#136651)
* add unique_id to BackupAgent

* adjust tests
2025-01-28 12:06:03 +01:00
Allen Porter
3ac062453f
Update nest config flow to create pub/sub topics (#136609)
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2025-01-28 11:53:57 +01:00
Christopher Fenner
8b738c919c
Correct labels in EnOcean config flow (#136338) 2025-01-28 11:51:07 +01:00
Gerben Jongerius
164078ac69
Add translations for youless sensors (#136349) 2025-01-28 11:29:29 +01:00
epenet
ff73545a86
Use runtime_data in econet (#136691) 2025-01-28 11:25:27 +01:00
Nathan Spencer
b1a4ba7b7c
Update config flow tests for litterrobot (#136658)
Co-authored-by: Joostlek <joostlek@outlook.com>
2025-01-28 11:21:46 +01:00
Allen Porter
b1fec51e2f
Update roborock tests to patch client before test setup (#136587) 2025-01-28 10:54:36 +01:00
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