Commit Graph

25904 Commits (dev)

Author SHA1 Message Date
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 71c5a4d6fa.

* 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