Commit Graph

26162 Commits (97c558b694520eeb7564a9118d739cdb9cdee92a)

Author SHA1 Message Date
TimL 9eb383f314
Bump Pysmlight to v0.2.0 (#136886)
* Bump pysmlight to v0.2.0

* Update info.json fixture with radios list

* Update diagnostics snapshot
2025-01-30 12:11:40 +02:00
Erik Montnemery 52feeedd2b
Poll supervisor job state when creating or restoring a backup (#136891)
* Poll supervisor job state when creating or restoring a backup

* Update tests

* Add tests for create and restore jobs finishing early
2025-01-30 11:09:31 +01:00
Arie Catsman 97fcbed6e0
Add error handling to enphase_envoy switch platform action (#136837)
* Add error handling to enphase_envoy switch platform action

* Use decorators for exception handling
2025-01-30 11:07:10 +02:00
Paulus Schoutsen 427c437a68
Add start_conversation service to Assist Satellite (#134921)
* Add start_conversation service to Assist Satellite

* Fix tests

* Implement start_conversation in voip

* Update homeassistant/components/assist_satellite/entity.py

---------

Co-authored-by: Michael Hansen <mike@rhasspy.org>
2025-01-29 21:32:10 -05:00
J. Diego Rodríguez Royo b637129208
Migrate from homeconnect dependency to aiohomeconnect (#136116)
* Migrate from homeconnect dependency to aiohomeconnect

* Reload the integration if there is an API error on event stream

* fix typos at coordinator tests

* Setup config entry at coordinator tests

* fix ruff

* Bump aiohomeconnect to version 0.11.4

* Fix set program options

* Use context based updates at coordinator

* Improved how `context_callbacks` cache is invalidated

* fix

* fixes and improvements at coordinator

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Remove stale Entity inheritance

* Small improvement for light subscriptions

* Remove non-needed function

It had its purpose before some refactoring before the firs commit, no is no needed as is only used at HomeConnectEntity constructor

* Static methods and variables at conftest

* Refresh the data after an event stream interruption

* Cleaned debug logs

* Fetch programs at coordinator

* Improvements

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Simplify obtaining power settings from coordinator data

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Remove unnecessary statement

* use `is UNDEFINED` instead of `isinstance`

* Request power setting only when it is strictly necessary

* Bump aiohomeconnect to 0.12.1

* use raw keys for diagnostics

* Use keyword arguments where needed

* Remove unnecessary statements

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2025-01-30 02:42:41 +01:00
TimL 4e3e1e91b7
Fix loading of SMLIGHT integration when no internet is available (#136497)
* Don't fail to load integration if internet unavailable

* Add test case for no internet

* Also test we recover after internet returns
2025-01-30 01:01:39 +00:00
Erik Montnemery aca9607e2f
Bump backup store to version 1.3 (#136870)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2025-01-29 14:58:06 -06:00
J. Nick Koston edabf0f8dd
Fix incorrect Bluetooth source address when restoring data from D-Bus (#136862) 2025-01-29 13:09:00 -06:00
Erik Montnemery 5286bd8f0c
Persist hassio backup restore status after core restart (#136857)
* Persist hassio backup restore status after core restart

* Remove useless condition
2025-01-29 13:55:02 -05:00
Michael Hansen d206553a0d
Cancel call if user does not pick up (#136858) 2025-01-29 13:52:32 -05:00
Abílio Costa b500fde468
Handle locked account error in Whirlpool (#136861) 2025-01-29 13:51:09 -05:00
Erik Montnemery 823df4242d
Add support for per-backup agent encryption flag to hassio (#136828)
* Add support for per-backup agent encryption flag to hassio

* Improve comment

* Set password to None when supervisor should not encrypt
2025-01-29 18:23:25 +01:00
Luke Lashley 4ce891512e
Add ability to cache Roborock maps instead of always reloading (#112047)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: Allen Porter <allen.porter@gmail.com>
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
Co-authored-by: Allen Porter <allen@thebends.org>
Co-authored-by: Robert Resch <robert@resch.dev>
2025-01-29 18:16:28 +01:00
Abílio Costa a61399f189
Simplify Whirlpool auth flows (#136856) 2025-01-29 17:09:44 +00:00
Tomer 3118831557
Ease understanding of integration failures (#134475)
Co-authored-by: Shay Levy <levyshay1@gmail.com>
Co-authored-by: David Bonnes <zxdavb@bonnes.me>
2025-01-29 17:43:25 +01:00
Marcel van der Veldt 72caf9d5a2
Tweak Matter discovery to ignore empty lists (#136854) 2025-01-29 17:41:28 +01:00
Nathan Spencer 35e3952770
Add DHCP discovery to balboa (#136762) 2025-01-29 17:28:09 +01:00
Lars fa6df1cc25
Check for fullcolorsupport in fritzbox light (#136850) 2025-01-29 17:15:54 +01:00
Erik Montnemery b2ec72d75f
Persist backup restore status after core restart (#136838)
* Persist backup restore status after core restart

* Don't blow up if restore result file can't be removed

* Update tests
2025-01-29 16:58:33 +01:00
Paulus Schoutsen 8ab6bec746
Migrate Google Gen AI to ChatSession (#136779)
* Migrate Google Gen AI to ChatSession

* Remove unused method
2025-01-29 10:42:39 -05:00
epenet 83b34c6faf
Adjust deprecation in water heater (#136577) 2025-01-29 16:15:20 +01:00
Teemu R. 653ff47171
Add cleaning statistics for tplink (#135784)
Co-authored-by: Steven B <51370195+sdb9696@users.noreply.github.com>
2025-01-29 08:56:47 -06:00
Teemu R. c7176f6849
Add consumables for tplink tapo vacuums (#136510)
Co-authored-by: Steven B <51370195+sdb9696@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2025-01-29 08:23:54 -06:00
Simon Lamon d9deba3916
Take exclude vias in unique ids for nmbs (#136590) 2025-01-29 14:25:28 +01:00
Ludovic BOUÉ 32829596eb
Add select platform discovery schemas for the Matter LaundryWasherControls cluster (#136261) 2025-01-29 14:17:00 +01:00
Erik Montnemery 9a687e7f94
Add support for per-backup agent encryption flag (#136622)
* Add support for per-backup agent encryption flag

* Adjust

* Don't attempt decrypting an unprotected backup

* Address review comments

* Add some tests

* Add fixture

* Rename fixture

* Correct condition for when we should encrypt or decrypt

* Update tests in integrations

* Improve test coverage

* Fix onedrive tests

* Add test

* Improve cipher worker shutdown

* Improve test coverage

* Fix google_drive tests

* Move inner class _CipherBackupStreamer._WorkerStatus to module scope
2025-01-29 14:04:17 +01:00
epenet 20ab6e2279
Standardize remaining homeassistant imports (#136836) 2025-01-29 13:39:31 +01:00
Michael c974251faa
Fix command latency in AVM Fritz!SmartHome (#136739) 2025-01-29 12:55:59 +01:00
Duco Sebel bc2976904e
Rename HomeWizard last restart sensor to Uptime (#136829) 2025-01-29 12:54:08 +01:00
Erik Montnemery 7249c02655
Add backup endpoints to the onboarding integration (#136051)
* Add backup endpoints to the onboarding integration

* Add backup as after dependency of onboarding

* Add test snapshots

* Fix stale docstrings

* Add utility function for getting the backup manager instance

* Return backup_id when uploading backup

* Change /api/onboarding/backup/restore to accept a JSON body

* Fix with_backup_manager
2025-01-29 12:32:18 +01:00
dontinelli c486cc8cbb
Add image entity for fyta (#135105) 2025-01-29 12:14:39 +01:00
Brett Adams ea62da553e
Correct the behavior of the Charge switch in Tessie/Teslemetry/Tesla Fleet (#136562) 2025-01-29 11:41:33 +01:00
David Knowles b73203fdf6
Use the new hybrid Hydrawise client (#136522)
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2025-01-29 11:06:59 +01:00
Cyrill Raccaud 04d1d80917
Add diagnostics for Cookidoo integration (#136770)
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2025-01-29 11:06:39 +01:00
cdnninja ce432555f0
Add binary sensor platform to VeSync (#134221)
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2025-01-29 10:59:34 +01:00
Steven B. 6b4ec3f3f4
Use translations for fan_speed in tplink vacuum entity (#136718) 2025-01-29 10:55:19 +01:00
Duco Sebel 60b6a11d4e
Add last restart sensor to HomeWizard (#136763) 2025-01-29 10:51:58 +01:00
Erik Montnemery 646e0d4626
Bump aiohasupervisor to version 0.2.2b6 (#136814) 2025-01-29 10:42:30 +01:00
G Johansson b93c2382ce
Add config flow to filter helper (#121522)
Co-authored-by: Robert Resch <robert@resch.dev>
2025-01-29 10:35:01 +01:00
epenet 7b1b229718
Standardize homeassistant imports in component tests (a-l) (#136806) 2025-01-29 10:00:45 +01:00
epenet 11671e1875
Use runtime_data in energenie_power_sockets (#136801)
* Use runtime_data in energenie_power_sockets

* Fix  tests
2025-01-29 09:36:53 +01:00
Marcel van der Veldt 609eb00a26
Add remaining Matter Operational State sensor discovery schemas (#136741) 2025-01-29 09:16:30 +01:00
epenet 0c6c9e0ae6
Use runtime_data in elmax (#136803) 2025-01-29 09:04:24 +01:00
epenet d0a188b86d
Standardize homeassistant imports in component tests (m-z) (#136807) 2025-01-29 08:57:57 +01:00
tronikos a2b5a96bc9
Add Google Drive integration for backup (#134576)
* Add Google Drive integration for backup

* Add test_config_flow

* Stop using aiogoogle

* address a few comments

* Check folder exists in setup

* fix test

* address comments

* fix

* fix

* Use ChunkAsyncStreamIterator in helpers

* repair-issues: todo

* Remove check if folder exists in the reatuh flow. This is done in setup.

* single_config_entry": true

* Add test_init.py

* Store into backups.json to avoid 124 bytes per property limit

* Address comments

* autouse=True on setup_credentials

* Store metadata in description and remove backups.json

* improvements

* timeout downloads

* library

* fixes

* strings

* review

* ruff

* fix test

* Set unique_id

* Use slugify in homeassistant.util

* Fix

* Remove RefreshError

* review

* push more fields to the test constant

---------

Co-authored-by: Joostlek <joostlek@outlook.com>
2025-01-28 21:43:30 -08:00
Teemu R. 94e4863cbe
Add power protection entities for tplink (#132267)
Co-authored-by: Steven B <51370195+sdb9696@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2025-01-28 19:34:26 -10:00
Michael Hansen 48dfa037bd
Bump intents to 2025.1.28 (#136782)
* Bump intents to 2025.1.28

* Fix snapshots
2025-01-28 22:25:35 -06:00
Petro31 d06b0fe340
Reload template blueprints when reloading templates (#136794) 2025-01-28 22:48:38 -05:00
Andrew Sayre bc7c5fbc86
Fix typing errors in HEOS tests (#136795)
* Correct typing errors of mocked heos

* Fix player related typing issues

* Sort mocks
2025-01-28 22:44:57 -05:00
J. Nick Koston 9f586ea547
Bump habluetooth to 3.14.0 (#136791) 2025-01-29 02:10:33 +01:00
Michael Hansen 64cda8cdb8
Add VoIP announce (#136781)
* Implement async_announce for VoIP

* Add tests

* Add network to voip dependencies
2025-01-28 19:32:08 -05:00
Teemu R. c2cbbf1e1c
Add more vacuum features for tplink (#136580) 2025-01-29 01:23:29 +01:00
Duco Sebel 7d0e314c35
Bumb python-homewizard-energy to 8.3.0 (#136765) 2025-01-29 01:00:46 +01:00
Michael Hansen eb4a05e365
Bump hassil to 2.2.0 (#136787) 2025-01-28 18:58:53 -05:00
J. Nick Koston 68dbe34b89
Add Bluetooth WebSocket API to subscribe to scanner details (#136750) 2025-01-28 13:06:24 -10:00
J. Nick Koston c55caabbff
Abort Bluetooth options flow if local adapters do not support passive scans (#136748) 2025-01-28 13:05:53 -10:00
Richard Polzer 77d9309b81
Add swing support for KNX climate entities (#136752)
* added swing to knx climate

* added tests for climate swing

* removed type ignores

* removed unreachable code
2025-01-28 22:52:39 +01:00
Shay Levy 55fc01be8e
Fix LG webOS TV actions not returning responses (#136743) 2025-01-28 20:55:06 +02:00
Nathan Spencer 404ca283c6
Let platforms decide entity creation in litterrobot (#136738) 2025-01-28 19:28:01 +01:00
Teemu R. 37b23a9691
Add pair/unpair buttons for tplink (#135847) 2025-01-28 19:17:34 +01:00
epenet 0e263aa427
Standardize homeassistant imports in full-CI tests (#136735) 2025-01-28 13:10:20 -05:00
Joost Lekkerkerker cb407bdfc6
Add support for HomeWizard Plug-In Battery and v2 API (#136733) 2025-01-28 19:09:49 +01:00
Michael a8c382566c
Register service actions in async_setup of AVM Fritz!Box tools (#136380)
* move service setup into integrations async_setup

* move back to own module

* add service test

* remove unneccessary CONFIG_SCHEMA

* remove unused constant FRITZ_SERVICES

* Revert "remove unneccessary CONFIG_SCHEMA"

This reverts commit cce1ba76a0.

* remove useless CONFIG_SCHEMA from services.py

* move logic of `service_fritzbox` into services.py

* add more service tests

* simplify logic, use ServiceValidationError
2025-01-28 17:57:02 +01:00
Brett Adams 77d42f6c57
Add streaming to Teslemetry lock platform (#136037) 2025-01-28 17:44:05 +01:00
Brett Adams 941461b427
Add streaming to Teslemetry number platform (#136048) 2025-01-28 17:43:41 +01:00
Joris Pelgröm 3eb1b182f5
Add config entry load/unload tests for LetPot (#136736) 2025-01-28 17:42:26 +01:00
Indu Prakash 9b598ed69c
Add more tests to vesync (#135681) 2025-01-28 17:38:53 +01:00
Sid 3680e39c43
Add climate platform to eheimdigital (#135878) 2025-01-28 17:38:28 +01:00
cdnninja 661bacda10
Add SmartTowerFan to VeSync Integration (#136596) 2025-01-28 17:34:25 +01:00
Arie Catsman ae157e8592
Parameterize enphase_envoy number tests. (#136631) 2025-01-28 16:56:14 +01:00
RJPoelstra b16c3a55a5
Add authentication support to MotionMount integration (#126487) 2025-01-28 16:45:19 +01:00
Ludovic BOUÉ 3f013ab620
Add sensor for Matter OperationalState cluster / CurrentPhase attribute (#129757) 2025-01-28 16:39:41 +01:00
Christopher Fenner 01f63cfefd
Add SPF sensor for heat pumps in ViCare integration (#136233)
Co-authored-by: Dave T <17680170+davet2001@users.noreply.github.com>
2025-01-28 16:34:08 +01:00
Josef Zweck 5695582387
Add OneDrive as backup provider (#135121)
Co-authored-by: Abílio Costa <abmantis@users.noreply.github.com>
2025-01-28 14:57:46 +00:00
J. Nick Koston 3d7e3590d4
Migrate usb to use aiousbwatcher (#136676)
* Migrate usb to use aiousbwatcher

aiousbwatcher uses inotify on /dev/bus/usb to look for devices
added and being removed which works on a lot more systems

* bump asyncinotify

* bump aiousbwatcher to 1.1.1

* tweaks

* tweaks

* tweaks

* fixes

* debugging

* Update homeassistant/components/usb/__init__.py

* Update homeassistant/components/usb/__init__.py

---------

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2025-01-28 09:57:11 -05:00
epenet a05ac6255c
Standardize util imports (#136723) 2025-01-28 15:54:06 +01:00
epenet 259f57b3aa
Use runtime_data in devialet (#136432) 2025-01-28 15:19:54 +01:00
Matthias Alphart 658d3cf06e
Add support for KNX UI to create BinarySensor entities (#136703) 2025-01-28 09:16:58 -05:00
Erik Montnemery abb58ec785
Include error reason in backup events (#136697)
* Include error reason in backup events

* Update hassio backup tests

* Sort code

* Remove catching BackupError in async_receive_backup
2025-01-28 14:44:09 +01:00
Josef Zweck 2c3cd6e119
Fix total coffees sensor for lamarzocco (#135283) 2025-01-28 14:09:22 +01:00
Andrew Sayre c4f8de8fd9
Raise exceptions in HEOS custom actions (#136546) 2025-01-28 14:08:40 +01:00
epenet 3dbcdf933e
Cleanup ecobee YAML configuration import (#136633) 2025-01-28 14:04:09 +01:00
Andrew Sayre c2da844f76
Add HEOS diagnostics (#136663) 2025-01-28 14:02:15 +01:00
Åke Strandberg 5a52c77523
Add test for myuplink DeviceInfo (#136360) 2025-01-28 13:48:58 +01:00
Erik Montnemery b1abf50a31
Tag backups created when updating addon with supervisor.addon_update (#136690) 2025-01-28 13:48:28 +01:00
Manu fa4b93da2b
Bump bring-api to 1.0.0 (#136657) 2025-01-28 13:24:44 +01:00
Teemu R. 82ee47ef77
Initial implementation for tplink tapo vacuums (#131965)
Co-authored-by: Steven B. <51370195+sdb9696@users.noreply.github.com>
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2025-01-28 12:44:46 +01:00
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
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
Jan Bouwhuis b8632063f5
Add dhcp discovery to incomfort integration (#136027)
* Add dhcp discovery to incomfort integration

* Remove duplicate code

* Ensure confirmation when discovered via DHCP

* Validate hostname is not changed

* Fix test

* Create gateway device with unique_id

* Add tests for assertion on via device

* Add registered devices to allow dhcp updates

* Migrate existing entry with host match

* Always load gatewate device an check if exising entry is loaded

* Make isolated flow step for dhcp auth

* Suggestions from code review
2025-01-22 07:55:55 +01:00
Marc Mueller f822fd82bb
Fix recorder fixture typing (#136174) 2025-01-21 18:18:05 -10:00
krakonos1602 ffcb4d676b
Add Eve Thermo TRV Matter features (#135635)
* Add Eve Thermo Matter features

* Update homeassistant/components/matter/switch.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update homeassistant/components/matter/switch.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update homeassistant/components/matter/switch.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Add Eve Thermo Child lock test

* Update homeassistant/components/matter/switch.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update homeassistant/components/matter/switch.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Implement thorough Child lock testing

* Apply suggestions from code review

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Marcel van der Veldt <m.vanderveldt@outlook.com>
2025-01-22 03:42:07 +01:00
Nathan Spencer e7345dd44a
Remove extra_state_attributes from Litter-Robot vacuum entities (#136196) 2025-01-22 00:49:43 +02:00
Paulus Schoutsen 22e0b0e9a7
Voip migrate entities (#136140)
* Migrate VoIP entities

* Revert device name to host again
2025-01-21 11:12:30 -06:00
Andrew Sayre 9bf2996ea0
Update HEOS tests to not interact directly with integration internals (#136177) 2025-01-21 16:00:34 +01:00
epenet b11b36b523
Add more util aliases to import conventions (#136153) 2025-01-21 15:58:23 +01:00
Erik Montnemery a2cbaef264
Prepare backup store to read version 2 (#136149) 2025-01-21 14:37:44 +01:00
Paulus Schoutsen 5b49ba563e
Satellite announcement to track original media id (#136141) 2025-01-21 14:33:37 +01:00
Erik Montnemery a60d2b69e3
Add service backup.create_automatic (#136152) 2025-01-21 12:40:54 +00:00
Mick Montorier-Aberman 33a2fa2c85
Add support for Bot in SwitchBot Cloud (#135606) 2025-01-21 12:08:38 +00:00
Ville Skyttä 40eb8b91cc
Adjust to recommended propcache.api import paths (#136150) 2025-01-21 10:58:22 +01:00
Maciej Bieniek 57b17472d7
Clean up entity registry imports in Shelly tests (#136159) 2025-01-21 11:47:15 +02:00
epenet 364556a7dd
Prefer from...import...as over import...as in core tests (#136146) 2025-01-21 09:28:17 +01:00
fwestenberg 0254be78d6
Bump Devialet to 1.5.7 (#136114) 2025-01-21 08:46:32 +01:00
Erik Montnemery fb4df00e3c
Add support for custom weekly backup schedule (#136079)
* Add support for custom weekly backup schedule

* Rename the new flag to custom_days

* Make the store change backwards compatible

* Improve comments
2025-01-21 08:27:41 +01:00
Andrew Sayre 79a43b8a50
Update HEOS tests to not patch internals (#136136) 2025-01-21 08:26:34 +01:00
Arie Catsman ba2c8646e9
Add scheduled envoy firmware checks to enphase_envoy coordinator (#136102)
* Add scheduled envoy firmware checks to enphase_envoy coordinator

* Set firmware scantime to 4 hours and split test in 2
2025-01-20 16:58:10 -06:00
Maciej Bieniek 11d44e608b
Add additional entities for Shelly BLU TRV (#135244)
* Add valve position sensor

* Add valve position and external sensor temperature numbers

* Fix method name

* Better name

* Add remove condition

* Add calibration binary sensor

* Add battery and signal strength sensors

* Remove condition from ShellyRpcEntity

* Typo

* Add get_entity_class helper

* Add tests

* Use snapshots in tests
2025-01-21 00:11:20 +02:00
Andrew Sayre d7ec99de7d
Remove yaml config fixture from HEOS tests (#136123) 2025-01-20 22:18:46 +01:00
Andrew Sayre dde6dc0421
Raise exceptions in HEOS service actions (#136049)
* Raise errors instead of log

* Correct docstring typo
2025-01-20 13:29:57 -06:00
Sid 4c008a5cb5
Fix upload service response for google_photos (#136106) 2025-01-20 13:00:02 -06:00
Shay Levy 8d99a54656
Bump aiowebostv to 0.5.0 (#136097) 2025-01-20 08:31:45 -10:00
Steven B. a84335ae6d
Enable dynamic child devices for tplink module entities (#135822)
Add dynamic child device handling to tplink integration for module based entities. For child devices that could be added/removed to hubs.

This address the module based platforms. #135229 addressed feature based platforms.
2025-01-20 19:13:14 +01:00
Joost Lekkerkerker 3f8f206c53
Add diagnostics to Overseerr (#136094) 2025-01-20 19:13:33 +02:00
Marc Mueller af02dbf0cb
Update pylint to 3.3.3 and astroid to 3.3.8 (#136090) 2025-01-20 06:52:18 -10:00
Joost Lekkerkerker 3630c8b8ed
Set configuration url to overseerr instance (#136085) 2025-01-20 16:25:06 +01:00
Erik Montnemery a7d5e52ffe
Always include SSL folder in backups (#136080) 2025-01-20 15:21:34 +01:00
Abílio Costa 3e716a1308
Use fixtures for Network component tests (#135220) 2025-01-20 15:19:17 +01:00
epenet 3342904330
Use new ServiceInfo location in core tests (#136067) 2025-01-20 14:04:58 +01:00
epenet c5efad3a2d
Use new ServiceInfo location in component tests (part 4) (#136065) 2025-01-20 13:19:17 +01:00
epenet af40b6524e
Use new ServiceInfo location in component tests (part 3) (#136064) 2025-01-20 13:16:59 +01:00
epenet fe010289b4
Use new ServiceInfo location in component tests (part 2) (#136062) 2025-01-20 13:13:45 +01:00
epenet 64500e837f
Use new ServiceInfo location in component tests (part 1) (#136057) 2025-01-20 13:09:34 +01:00
Erik Montnemery 760168de83
Allow backup writer to update progress during restore (#135975)
* Allow backup writer to update progress during restore

* Clarify comment
2025-01-20 12:58:17 +01:00
Erik Montnemery 43da828a51
Make the time for automated backups configurable (#135825)
* Make the time for automated backups configurable

* Store time as a string, use None to indicate default time

* Don't add jitter if the time is set by user

* Include time of next automatic backup in response to backup/info

* Update tests

* Rename recurrence to state

* Include scheduled backup time in backup/config/info response

* Address review comments

* Update cloud test

* Add test for store migration

* Address review comments
2025-01-20 12:57:46 +01:00
Manu ff80a7c5bc
Add reconfiguration flow to Habitica (#136038) 2025-01-20 09:25:45 +01:00
Manu 9e37c0dc8f
Add diagnostics platform to IronOS integration (#136040) 2025-01-20 08:12:42 +01:00
Paulus Schoutsen 85f10cf60a
Use LLM fallback when local matching matches intent but not targets (#136045)
LLM fallback to be used when local matching matches intent but finds no targets
2025-01-20 02:06:06 -05:00
Joost Lekkerkerker 53ad02a1eb
Enable RUF032 (#135836) 2025-01-20 08:05:33 +01:00
G Johansson a98bb96325
Add reconfigure flow to Trafikverket Train (#136000) 2025-01-19 21:33:15 +01:00
G Johansson 2295e3779a
Ensure entity platform in cover tests (#135917) 2025-01-19 21:29:28 +01:00
G Johansson 53f80e9759
Ensure entity platform in camera tests (#135918) 2025-01-19 21:28:50 +01:00
Joost Lekkerkerker f5d35bca72
Implement cloudhooks for Overseerr (#134680) 2025-01-19 21:28:08 +01:00
jsuar a2d76cac5a
Fix Slack file upload (#135818)
* pgrade Slack integration to use AsyncWebClient and support files_upload_v2

- Replaced deprecated WebClient with AsyncWebClient throughout the integration.
- Removed the unsupported `run_async` parameter.
- Added a helper function to resolve channel names to channel IDs.
- Updated `_async_send_local_file_message` and `_async_send_remote_file_message` to handle Slack's new API requirements, including per-channel uploads.
- Updated dependency from slackclient==2.5.0 to slack-sdk>=3.0.0.
- Improved error handling and logging for channel resolution and file uploads.

* Fix test to use AsyncWebClient for Slack authentication flow

* Fix Slack authentication URL by removing the www subdomain

* Refactor Slack file upload functionality and add utility for file uploads
2025-01-19 21:09:04 +01:00
Joakim Plate a69786f64f
Set friendly name for PT2262 sensors to masked name (#135988) 2025-01-19 21:07:05 +01:00
Paulus Schoutsen 0c68854fdf
Migrate tests from OpenAI to conversation integration (#135963) 2025-01-19 20:32:59 +01:00
J. Diego Rodríguez Royo 57294fa461
Do not base power switch state on appliance's operation state at Home Connect (#135932) 2025-01-19 20:24:48 +01:00
Joakim Plate 568a27000d
Correct type for off delay in rfxtrx (#135994) 2025-01-19 20:09:05 +01:00
Maikel Punie 4612f4da19
Fix velbus via devices (#135986) 2025-01-19 20:07:32 +01:00
Manu ec45cb4939
Improve exception handling in Habitica integration (#135950) 2025-01-19 19:51:55 +01:00
Jan Bouwhuis 889f699e5d
Disable noisy diagnostic incomfort sensors by default (#135992) 2025-01-19 19:28:19 +01:00
Jan Bouwhuis 5ffae140af
Add diagnostics feature to incomfort integration (#136009) 2025-01-19 19:27:36 +01:00
Jan Bouwhuis 3077a4cdee
Add re-configure flow incomfort integration (#135887)
* Add re-configure flow incomfort integration

* End with abort flow in reconfigure failure flow

* Apply parenthesis
2025-01-19 15:16:26 +01:00
Andrew Sayre 439f22f584
Fix HEOS device information (#135940) 2025-01-19 15:07:00 +01:00
Jan Bouwhuis b17c36eeff
Add re-authentication flow to incomfort integration (#135861) 2025-01-19 14:26:21 +01:00
Mick Montorier-Aberman 41fe863b72
Refactor SwitchBot Cloud make_device_data (#135698) 2025-01-19 14:22:21 +01:00
Christopher Fenner 654e111c23
Fix fan speed in auto mode in ViCare integration (#134256) 2025-01-19 13:39:38 +01:00
Manu 958b1e7759
Move integration setup to coordinator `_async_setup` in Bring (#135711) 2025-01-19 13:29:21 +01:00
Erwin Douna 15d57692d9
SMA add diagnostics (#135852) 2025-01-19 13:28:15 +01:00
Sid a55bd593af
Rework enigma2 tests (#135475) 2025-01-19 13:24:47 +01:00
Brett Adams 6292d6c0dc
Add streaming to device tracker platform in Teslemetry (#135962)
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2025-01-19 13:20:40 +01:00
Matthias Alphart af0f416497
Fix KNX default state updater option (#135611) 2025-01-19 12:53:09 +01:00
Glenn Vandeuren (aka Iondependent) 9f3b39a2d2
Round brightness in Niko Home Control (#135920) 2025-01-19 12:51:05 +01:00
J. Nick Koston 0d968267a2
Improve remote Bluetooth scanner manufacturer data (#135961)
Co-authored-by: Joostlek <joostlek@outlook.com>
2025-01-19 11:55:13 +01:00
Erik Montnemery 02347d5d36
Improve backup store in tests (#135974) 2025-01-19 11:13:37 +01:00
Paulus Schoutsen 754de6f998
Add shared history for conversation agents (#135903)
* Add shared history for conversation agents

* Remove unused code

* Add support for native history items

* Store all assistant responses as assistant in history

* Add history support to DefaultAgent.async_handle_intents

* Make local fallback work

* Add default agent history

* Add history cleanup

* Add tests

* ChatHistory -> ChatSession

* Address comments

* Update snapshots
2025-01-18 22:33:03 -05:00
Marc Mueller 6690b121c0
Fix unicode chars in zha tests (#135954) 2025-01-18 13:47:30 -10:00
Marc Mueller 8a3ef101e6
Replace additional deprecated USBServiceInfo imports (#135953) 2025-01-18 17:43:07 -06:00
Álvaro Fernández Rojas 37c3a9546c
Update aioairzone to v0.9.9 (#135866)
Co-authored-by: J. Nick Koston <nick@koston.org>
2025-01-18 10:57:54 -10:00
Marc Mueller 24c50e0988
Fix aiodns DeprecationWarning in tests (#135921) 2025-01-18 08:04:01 -10:00
Joost Lekkerkerker fe8a93d62f
Add reauthentication to SmartThings (#135673)
* Add reauthentication to SmartThings

* Add reauthentication to SmartThings

* Add reauthentication to SmartThings

* Add reauthentication to SmartThings
2025-01-18 18:41:24 +01:00
Marc Mueller dedcef7230
Fix acmeda pytest usefixtures spelling (#135919) 2025-01-18 17:08:07 +01:00
G Johansson 5a7b6cd7a0
Remove asserting name in tts test (no entity platform) (#135726)
* Ensure entity platform in tts tests

* Correct placement

* Remove name test

* Remove hass
2025-01-18 14:47:53 +01:00
Maciej Bieniek f0c6b47522
Increase test coverage for IMGW-PIB (#135915) 2025-01-18 13:31:17 +01:00
Joris Pelgröm d349c47694
Add reauth flow to LetPot integration (#135734) 2025-01-18 06:11:35 -06:00
Josef Zweck f878465a9a
Fix imgw_pib tests (#135913) 2025-01-18 06:07:28 -06:00
Nathan Spencer 81b7d01a7d
Bump pylitterbot to 2024.0.0 (#135891) 2025-01-18 13:01:09 +01:00
Manu f5dd3ef530
Increase test coverage in Habitica integration (#135896)
Add tests to Habitica integration
2025-01-18 12:59:23 +01:00
Josef Zweck c56eee3639
Fix bmw_connected_drive tests (#135911) 2025-01-18 11:10:52 +01:00
J. Nick Koston 43fe4ebbbe
Prevent HomeKit from going unavailable when min/max is reversed (#135892) 2025-01-17 14:08:17 -10:00
G Johansson 2ec971ad9d
Remove not needed name from config flow in SMHI (#134841) 2025-01-17 19:21:13 +01:00
Erik Montnemery 235fda55fe
Validate config entry when adding or updating entity registry entry (#135067) 2025-01-17 19:18:13 +01:00
epenet 14f3868c26
Fix flaky test in acmeda (#135846) 2025-01-17 19:08:32 +01:00
Indu Prakash 54e4e8a7bb
Fix humidifier on off status update (#135743) 2025-01-17 18:49:33 +01:00
hahn-th 4a64c797d4
Add doorbell event to homematicip_cloud (#133269) 2025-01-17 17:54:15 +01:00
Brett Adams 24bb623567
Add streaming to Teslemetry cover platform (#135660) 2025-01-17 17:38:03 +01:00
Bouwe Westerdijk a2afc1b670
Plugwise test-code improvements (#134193) 2025-01-17 17:12:09 +01:00
Joost Lekkerkerker ef8b8fbbaa
Enable RUF023 (#135830) 2025-01-17 12:28:27 +01:00
Noah Husby 13a7ad759c
Add media position & seek to Russound RIO (#134372) 2025-01-17 12:03:52 +01:00
Andre Lengwenus 99d250f222
Set target value on LCN regulator lock (#133870) 2025-01-17 11:15:42 +01:00
Brett Adams 689d7d3cd9
Add Energy History to Tesla Fleet (#126878)
Co-authored-by: Brett Adams <Bre77@users.noreply.github.com>
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
Co-authored-by: JEMcats <hurst-status09@icloud.com>
Co-authored-by: JEMcats <jakobmattheis@icloud.com>
2025-01-17 10:34:35 +01:00
Joost Lekkerkerker b4f4b06f29
Enable RUF021 (#135832) 2025-01-17 10:20:45 +01:00
Simon 85b4be2f16
Add model option to speak action for ElevenLabs (#133902) 2025-01-17 10:18:07 +01:00
dcmeglio 5e0bbf65e4
Gracefully handle webhook unsubscription if error occurs while contacting Withings (#134271) 2025-01-17 10:14:41 +01:00
Richard Kroegel 514b74096a
Improve BMW test quality (#133704) 2025-01-17 09:58:46 +01:00
G Johansson cde3ba5504
Ensure entity platform in dsmr_reader tests (#135718) 2025-01-17 09:14:40 +01:00
G Johansson 21256cab85
Ensure entity platform in google_assistant tests (#135719) 2025-01-17 09:14:25 +01:00
G Johansson d62a66eaf2
Ensure entity platform in google_wifi tests (#135720) 2025-01-17 09:14:08 +01:00
Marc Mueller 46b17b539c
Use new syntax for TypeVar defaults (#135780) 2025-01-17 09:12:52 +01:00
G Johansson 6aed2dcc0f
Ensure entity platform in homeassistant tests (#135721) 2025-01-17 09:11:07 +01:00
G Johansson 7430238c0a
Ensure entity platform in kira tests (#135723) 2025-01-17 09:10:47 +01:00
G Johansson cd88913daf
Ensure entity platform in mochad tests (#135725) 2025-01-17 09:10:29 +01:00
G Johansson 8e39c65759
Ensure entity platform in universal tests (#135727) 2025-01-17 09:10:09 +01:00
G Johansson 0f8785d8bc
Ensure entity platform in alert tests (#135714) 2025-01-17 08:44:40 +01:00
Petro31 566f514a75
Allow is_state_attr to check attributes for None (#132879) 2025-01-17 08:41:10 +01:00
G Johansson f3683f0b5e
Ensure entity platform in blackbird tests (#135715) 2025-01-17 08:34:47 +01:00
Avi Miller 02ec1d1b71
New paint_theme service added to the LIFX integration (#135667)
* New paint_theme service added to the LIFX integration

Signed-off-by: Avi Miller <me@dje.li>
Co-authored-by: J. Nick Koston <nick@koston.org>

* Move effect selection into a dispatch table

Signed-off-by: Avi Miller <me@dje.li>

---------

Signed-off-by: Avi Miller <me@dje.li>
Co-authored-by: J. Nick Koston <nick@koston.org>
2025-01-16 14:41:09 -10:00
Maciej Bieniek b0d3aa1c34
Bump `imgw_pib` to version 1.0.9 and remove hydrological detail entities (#134668) 2025-01-16 23:42:03 +01:00
Konrad Vité e6c696933f
Fix DiscoveryFlowHandler when discovery_function returns bool (#133563)
Co-authored-by: J. Nick Koston <nick@koston.org>
2025-01-16 12:31:16 -10:00
G Johansson e5164496cf
Ensure entity platform in vacuum tests (#135786) 2025-01-16 23:27:54 +01:00
G Johansson 88c3be4ecf
Ensure entity platform in light tests (#135787) 2025-01-16 23:26:50 +01:00
G Johansson 619917c679
Ensure entity platform in media_player tests (#135788) 2025-01-16 23:26:18 +01:00
Erik Montnemery 1fee0a5aa2
Improve backup store in tests (#135798) 2025-01-16 23:14:19 +01:00
G Johansson bb505baae7
Ensure entity platform in core config tests (#135729) 2025-01-16 12:06:20 -10:00
Jan Bouwhuis b446eaf2d0
Improve incomfort test coverage (#135806) 2025-01-16 23:04:57 +01:00
Jan Bouwhuis 60d51bf4ad
Assign entity_category for incomfort entities (#135807) 2025-01-16 23:03:48 +01:00
puddly 9b66ba61a8
USB device add/remove callbacks (#131224) 2025-01-16 11:53:15 -10:00
puddly 9331b1572c
Implement a polling fallback for USB monitor (#130918) 2025-01-16 11:14:53 -10:00
Paulus Schoutsen 762bc7b8d1
Add broadcast intent (#135337) 2025-01-16 14:41:53 -06:00
J. Nick Koston 6e255060c6
Add Bluetooth config entries for remote scanners (#135543) 2025-01-16 09:52:52 -10:00
Steve HOLWEG 93b3d76ee2
Add button to move netatmo cover to preferred position (#134722) 2025-01-16 18:34:30 +00:00
Markus Jacobsen e188d9a00c
Fix Bang & Olufsen event testing (#135707)
Co-authored-by: Abílio Costa <abmantis@users.noreply.github.com>
2025-01-16 18:06:18 +00:00
Jan Bouwhuis 5ca68cb273
Improve incomfort coordinator logging (#135777) 2025-01-16 15:24:40 +01:00
Joost Lekkerkerker eb98f110d3
Fix Vicare patch (#135773) 2025-01-16 15:41:24 +02:00
Paulus Schoutsen 5cf56207fe
Add temperature and humidity entities to area registry (#135423)
* Add temperature and humidity entities to area registry

* Fix service test

* Add validation

* ABC

* More ABC

* More ABC 2

* Fix tests

* ABC 3

* ABC 4
2025-01-16 08:25:26 -05:00
Joost Lekkerkerker 9f7a38f189
Enable RUF022 (#135767) 2025-01-16 13:48:24 +01:00
Christopher Fenner 40a3e19ce5
Add further ventilation-related sensors to ViCare (#131496) 2025-01-16 13:38:40 +01:00
Erik Montnemery 6cbe18ebbd
Bump securetar to 2025.1.3 (#135762)
* Bump securetar to 2025.1.3

* Remove outdated fixture
2025-01-16 13:26:52 +01:00
Martin Hjelmare 421f9aa638
Avoid using the backup manager in restore tests (#135757)
* Fix typing

* Refactor test restore backup

* Refactor test restore backup wrong password

* Refactor test restore backup wrong parameters

* Update manager state after rebase

* Remove not needed patch
2025-01-16 12:49:27 +01:00
Erik Montnemery 9db6be11f7
Support decrypting backups when downloading (#135728)
* Support decrypting backups when downloading

* Close stream

* Use test helper

* Wait for worker to finish

* Simplify

* Update backup.json

* Simplify

* Revert change from the future
2025-01-16 12:36:12 +01:00
Tyron 6fdccda225
Return Chat IDs on Telegram Bot (#131274)
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2025-01-16 12:27:19 +01:00
G Johansson c89d60fb5d
Ensure entity platform in light tests (#135724) 2025-01-16 09:21:49 +01:00
Martin Hjelmare 77a351f992
Add receive backup tests (#135680)
* Clean up test_receive_backup_busy_manager

* Test receive backup agent error

* Test file write error during backup receive

* Test read tar error during backup receive

* Test non agent upload error during backup receive

* Test file read error during backup receive
2025-01-16 08:41:59 +01:00
G Johansson a8645ea4ed
Ensure entity platform in bluetooth tests (#135716) 2025-01-15 21:24:37 -10:00
Jamin 79ee2e954b
Use SIP URI for VoIP device identifier (#135603)
* Use SIP URI for VoIP device identifier

Use the SIP URI instead of just host/IP address to identify VoIP
devices. This will allow calls initiating from Home Assistant to the
device as well as allows devices connecting through a PBX to be uniquely
identified.

* Add tests

---------

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2025-01-15 20:59:58 -05:00
J. Nick Koston e736ca72f0
Handle invalid HS color values in HomeKit Bridge (#135739) 2025-01-15 13:33:58 -10:00
Steven B. 51e3bf42f2
Add dynamic child device handling to tplink integration (#135229)
Add dynamic child device handling to tplink integration. For child devices that could be added/removed to hubs.
2025-01-15 20:45:06 +01:00
Ik-12 c6cab3259c
Create switches for controlling policy-based routes (#134473)
Create switches for controlling policy-based routes (aka "traffic routes" in the Unifi API).
2025-01-15 20:37:33 +01:00
Erik Montnemery f36a10126c
Add WS command backup/can_decrypt_on_download (#135662)
* Add WS command backup/can_decrypt_on_download

* Wrap errors

* Add default messages to exceptions

* Improve test coverage
2025-01-15 19:40:29 +01:00
epenet e83ee00af8
Move UsbServiceInfo to service_info helpers (#135663)
* Move UsbServiceInfo to service_info helpers

* Adjust components
2025-01-15 15:10:25 +01:00
epenet 8c13daf6d9
Move SsdpServiceInfo to service_info helpers (#135661)
* Move SsdpServiceInfo to service_info helpers

* docstring

* Move string constants

* Adjust components
2025-01-15 15:00:27 +02:00
epenet 31c36beb2e
Move DhcpServiceInfo to service_info helpers (#135658)
* Move DhcpServiceInfo to service_info helpers

* Fix mypy/pylint
2025-01-15 13:09:18 +01:00
epenet b046ca9abe
Move ZeroconfServiceInfo to service_info helpers (#135653)
* Move ZeroconfServiceInfo to service_info helpers

* Adjust deprecation date

* Fix mypy/pylint

* Fix DeprecatedConstant

* Add deprecation test

* Adjust

* Also deprecate ATTR_PROPERTIES_ID
2025-01-15 12:25:42 +01:00
Jan Bouwhuis f0257fec88
Fix mqtt number state validation (#135621) 2025-01-15 10:13:27 +01:00
Joost Lekkerkerker 8a35261fd8
Remove unused noqas (#135583) 2025-01-15 10:02:18 +01:00
Brett Adams 65df8b946f
Update buttons in Teslemetry (#135631)
* Update button

* tests
2025-01-15 08:32:46 +01:00
Thomas55555 4b37b367de
Dynamic devices for Husqvarna Automower (#133227)
* Dynamic devices for Husqvarna Automower

* callbacks

* add stayout-zones together

* add alltogether on init

* fix stale lock names

* also for workareas

* separate "normal" vs callback entity adding

* mark quality scale

* Apply suggestions from code review

Co-authored-by: Josef Zweck <josef@zweck.dev>

* Apply suggestions from code review

Co-authored-by: Josef Zweck <josef@zweck.dev>

---------

Co-authored-by: Josef Zweck <josef@zweck.dev>
2025-01-15 08:31:24 +01:00
mkmer 6e88c6570e
Return OFF in hvac_action for Honeywell climate (#135620) 2025-01-14 23:15:49 +00:00
Franck Nijhof 60bdc13c94
Drop Python 3.12 support (#135589) 2025-01-14 16:23:15 +01:00
Manu 526277da0f
Add entity pictures to Habitica integration (#134179) 2025-01-14 15:23:22 +01:00
adam-the-hero 026df07451
Fix Watergate Power supply mode description and MQTT/Wifi uptimes (#135085) 2025-01-14 14:40:01 +01:00
Indu Prakash 38d008bb66
Add vesync number platform (#135564) 2025-01-14 14:33:48 +01:00
Manu 7cc61d1b86
Skip fetching deactivated shopping lists in Bring integration (#135336)
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2025-01-14 14:07:07 +01:00
Joost Lekkerkerker 421c4889bf
Use device supplied ranges in LaMetric (#135590) 2025-01-14 14:02:17 +01:00
Joost Lekkerkerker d6ee7a2c1e
Add serial number to LaMetric (#135591) 2025-01-14 13:54:08 +01:00