Commit Graph

23765 Commits (94677090684661c1984464cb9b8009278e5e6839)

Author SHA1 Message Date
Allen Porter 57ab567d08
Update ollama to use the ChatLog/ChatSession APIs (#138167)
* Update ollama to use the ChatLog/ChatSession APIs

* Add documentation about history trimming.

* Revert changes to chat_log.py

* Explicitly check for SystemContent when converting system messages

* Remove half of a comment
2025-02-09 16:52:01 -05:00
Regev Brody 379bf10675
Add scene support to roborock (#137203)
* feature: add scene buttons to roborock

* feature: upgrade python-roborock

* feature: upgrade python-roborock

* feature: upgrade python-roborock

* feature: upgrade python-roborock

* feature: upgrade python-roborock

* feature: upgrade python-roborock

* feature: upgrade python-roborock

* feature: upgrade python-roborock

* feature: upgrade python-roborock
2025-02-09 13:39:38 -08:00
Michael 4eccc9d9a4
Explicitly pass in the config_entry in iotty coordinator (#138140)
explicitly pass in the config_entry in coordinator
2025-02-09 22:01:13 +02:00
Allen Porter b1f3068b41
Refresh the nest authentication token on integration start before invoking the pub/sub subsciber (#138003)
* Refresh the nest authentication token on integration start before invoking the pub/sub subscriber

* Apply suggestions from code review

---------

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2025-02-09 12:31:18 -05:00
tronikos 0bd161a45a
Use resumable uploads in Google Drive (#138010)
* Use resumable uploads in Google Drive

* tests
2025-02-09 12:30:52 -05:00
Michael 794143c32f
Explicitly pass in the config_entry in tibber coordinator (#137904)
explicitly pass in the config_entry in coordinator
2025-02-09 14:33:54 +01:00
J. Diego Rodríguez Royo 4a8c96471b
Raise `ConfigEntryAuthFailed` at Home Connect update auth error (#136953)
* Raise `ConfigEntryAuthFailed` on `UnauthorizedError` handling

* Implement reauth flow

* Add tests

* Remove unnecessary code from tests
2025-02-09 12:36:08 +01:00
Paulus Schoutsen df307aeb6d
Stream OpenAI messages into the chat log (#137400) 2025-02-09 00:01:24 -05:00
Piotr Buliński 848ee762a7
Add support for fireplace mode control for flexit_bacnet integration (#137594) 2025-02-08 20:54:13 +01:00
J. Diego Rodríguez Royo 91dbe3092f
Only allow single Home Connect config entry (#137088)
* Make Home Connect config entry unique

* Use unique ID for Home connect config entry

* Remove unnecessary code

* Revert "Use unique ID for Home connect config entry"

This reverts commit 4241317469.

* Added tests
2025-02-08 16:29:00 +01:00
Bouwe Westerdijk 7f6855045a
Bump plugwise to v1.7.1 and adapt (#137599)
* Bump plugwise v1.7.1

* Refresh test-fixtures

* Adapt integration code

* Adapt test code

* Fixes

* Save updated snapshot

* Ruff fixes

* More ruff fixes
2025-02-08 17:02:24 +02:00
Franck Nijhof 7bf81037c1
Add Peblar charge switch (#137853)
* Add Peblar charge switch

* Update snapshots
2025-02-08 15:48:31 +01:00
David Bonnes a542a2e021
Refactor evohome for major bump of client to 1.0.2 (#135436)
* working test_init

* update fixtures to be compliant with new schema

* test_storage is now working

* all tests passing

* bump client to 1.0.1b0

* test commit (working tests)

* use only id (not e.g. zoneId), use StrEnums

* mypy, lint

* remove deprecated module

* remove waffle

* improve typing of asserts

* broker is now coordinator

* WIP - test failing

* rename class

* remove unneeded async_dispatcher_send()

* restore missing code

* harden test

* bugfix failing test

* don't capture blind except

* shrink log messages

* doctweak

* rationalize asserts

* remove unneeded listerner

* refactor setup

* bump client to 1.0.2b0

* bump client to 1.0.2b1

* refactor extended state attrs

* pass UpdateFailed to _async_refresh()

* Update homeassistant/components/evohome/entity.py

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

* Update homeassistant/components/evohome/entity.py

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

* not even lint

* undo not even lint

* remove unused logger

* restore old namespace for e_s_a

* minimize diff

* doctweak

* remove unused method

* lint

* DUC now working

* restore old camelCase keynames

* tweak

* small tweak to _handle_coordinator_update()

* Update homeassistant/components/evohome/coordinator.py

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

* add test of coordinator

* bump client to 1.0.2

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2025-02-08 14:45:48 +00:00
Joris Pelgröm fae2c94c74
Add snapshot tests for setup of LetPot platforms (#137756) 2025-02-08 13:42:43 +01:00
tronikos c370fa0489
Use the external URL set in Settings > System > Network if my is disabled as redirect URL for Google Drive instructions (#137791)
* Use the Assistant URL set in Settings > System > Network if my is disabled

* fix

* Remove async_get_redirect_uri
2025-02-08 01:16:10 -08:00
IceBotYT 332a0c5082
LaCrosse View new endpoint (#137284)
* Switch to new endpoint in LaCrosse View

* Coverage

* Avoid merge conflict

* Switch to UpdateFailed
2025-02-08 09:14:00 +01:00
Paulus Schoutsen f64b494282
Conversation chat log cleanup and optimization (#137784) 2025-02-07 22:06:16 -08:00
Paulus Schoutsen 7883106e7c
Make sure we always have agent_id in ConversationInput (#137679)
* Make sure we always have agent_id in ConversationInput

* fix type
2025-02-07 18:25:21 -08:00
Michael c814f4f307
Explicitly pass in the config entry in amberelectric coordinator init (#137700)
* explicitly pass in the config_entry in amberelectric coordinator init

* fix amberelectric tests
2025-02-07 20:11:04 +01:00
Maciej Bieniek 6ff733b225
Set the device class for the Shelly virtual sensor (#137068)
* Map sensor role to the device class

* Add test

* Fix docstring
2025-02-07 17:36:26 +02:00
puddly b3205ea1cd
Do not rely on pyserial for port scanning with the CM5 + ZHA (#137585)
Do not rely on pyserial for port scanning with the CM5
2025-02-07 16:33:40 +01:00
Maciej Bieniek aa6fa3cdad
Don't use the current temperature from Shelly BLU TRV as a state for External Temperature number entity (#137658)
Introduce RpcBluTrvExtTempNumber for External Temperature entity
2025-02-07 16:32:28 +01:00
Josef Zweck 040e1ff5fb
Use separate metadata files for onedrive (#137549) 2025-02-07 16:06:33 +01:00
Andrew Sayre dd82212e45
Handle previously migrated HEOS device identifier (#137596) 2025-02-07 09:04:34 -06:00
Shay Levy 239f2dcb3e
Fix LG webOS TV turn off when device is already off (#137675) 2025-02-07 15:25:09 +01:00
Andre Lengwenus d9726ab08c
Use snapshots for ConfigEntry migration tests (#136093)
* Add snapshots for migration

* Reduce fixtures specific to migration

* Explicitly test versions of migrated entries
2025-02-07 11:32:47 +01:00
Manu 448a24802d
Add reconfiguration flow to Bring! integration (#137529) 2025-02-07 10:08:02 +01:00
epenet 5b8ef05bc2
Use runtime_data in foscam (#137646) 2025-02-07 10:06:44 +01:00
Manu b9a9da1e1d
Add event platform to Bring! integration (#136935)
* Add event platform

* update
2025-02-07 09:44:14 +01:00
Duco Sebel fd6e2a6e19
Add Wi-Fi RSSI sensor in HomeWizard (#136754) 2025-02-06 23:37:26 +01:00
Matthias Alphart 8a08a87a25
KNX tests: Support loading different config store fixtures (#136961)
* Support loading different config store fixtures

* Add config store test for binary sensor

* Update README.md

* remove unused fixture

* AddAdd config store test for switch
2025-02-06 23:24:09 +01:00
Jan Bouwhuis d3d00357aa
Allow to omit the payload attribute to MQTT publish action to allow an empty payload to be sent by default (#137595)
Allow to omit the payload attribute to MQTT publish actionto allow an empty payload to be sent by default
2025-02-06 22:11:39 +02:00
puddly 2e8bc56be4
Keep track of addons and integrations when determining HA radio firmware type (#134598)
* Replace `FirmwareGuess` with `FirmwareInfo` with owner tracking

* Fix up config flow

* Account for OTBR addon existing independent of integration

* Fix remaining unit tests

* Add some tests for ownership

* Unit test `get_zha_firmware_info`

* ZHA `homeassistant_hardware` platform

* OTBR `homeassistant_hardware` platform

* Rework imports

* Fix unit tests

* Add OTBR unit tests

* Add hassfest exemption for `homeassistant_hardware` and `otbr`

* Invert registration to decouple the hardware integration

* Revert "Add hassfest exemption for `homeassistant_hardware` and `otbr`"

This reverts commit c8c6e7044f.

* Fix circular imports

* Fix unit tests

* Address review comments

* Simplify API a little

* Fix `| None` mypy issues

* Remove the `unregister_firmware_info_provider` API

* 100% coverage

* Add `HardwareInfoDispatcher.register_firmware_info_callback`

* Unit test `register_firmware_info_callback` (zha)

* Unit test `register_firmware_info_callback` (otbr)

* Update existing hardware helper tests to use the new function

* Add `async_` prefix to helper function names

* Move OTBR implementation to a separate PR

* Update ZHA diagnostics snapshot

* Switch from `dict.setdefault` to `defaultdict`

* Add some error handling to `iter_firmware_info` and increase test coverage

* Oops
2025-02-06 14:46:07 -05:00
G Johansson 167fb37929
Update library for smhi (#136375)
* Update library for smhi

* Imports

* Fixes
2025-02-06 19:45:53 +01:00
Jasper Wiegratz 603a1ed69c
Fix sending polls to Telegram threads (#137553)
Fix sending poll to Telegram thread
2025-02-06 19:42:28 +01:00
Christopher Fenner 44c79f4b9c
Correct state and icon if fan is in standby mode in ViCare integration (#137565)
* handle standby mode

* update snapshot
2025-02-06 19:32:41 +01:00
Michael Hansen 16390d56b6
Add excluded domains to broadcast intent (#137566) 2025-02-06 11:53:55 -05:00
Dennis Effing 634b754168
Fix Overseerr webhook configuration JSON (#137572)
Co-authored-by: Lars Jouon <schm.lars@googlemail.com>
2025-02-06 17:37:10 +01:00
Joakim Sørensen 8654597e25
Handle non-retryable errors when uploading cloud backup (#137517) 2025-02-06 09:57:10 +01:00
IceBotYT e93451a195
Deprecate Linear Garage Door integration (#137502) 2025-02-06 08:38:21 +01:00
Manu c4454ad5ea
Bump habiticalib to v0.3.5 (#137510) 2025-02-06 08:32:56 +01:00
Manu 12b3665872
Bump bring-api version to 1.0.1 (#137496) 2025-02-06 08:30:41 +01:00
Joakim Sørensen 283b0908c8
Move cloud backup upload/download handlers to lib (#137416)
* Move cloud backup upload/download handlers to lib

* Update backup.py

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

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2025-02-06 07:32:46 +01:00
Paulus Schoutsen 3b871afcc4
Update default Google model to Gemini Flash 2.0 (#137505) 2025-02-05 23:27:13 -05:00
Michael Arthur 94614e0376
Change Electric Kiwi authentication (#135231)
Co-authored-by: Joostlek <joostlek@outlook.com>
2025-02-05 20:01:45 +01:00
epenet 09483d2cef
Move fireservicerota coordinator to own module (#137304) 2025-02-05 18:27:13 +01:00
Arkadiusz Wahlig c9ab75a02d
Add support for Switchbot Remote (#137443) 2025-02-05 10:38:34 -06:00
Galorhallen 830636df07
Govee light local bump (#137436) 2025-02-05 16:18:32 +00:00
cdnninja 4694240cfa
Refactor switch for vesync (#134409)
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2025-02-05 17:07:35 +01:00
Erik Montnemery 3f2e6d102c
Bump aiohasupervisor to version 0.3.0 (#137437) 2025-02-05 16:58:39 +01:00