Commit Graph

90172 Commits (ba583cc669f28ece133f12f33286e40695a655b2)

Author SHA1 Message Date
Erik Montnemery ba583cc669
Add test for trying to add an entity to an unknown config subentry (#138211) 2025-02-10 19:21:43 -05:00
J. Nick Koston b8ec8ab3cc
Bump aiodiscover to 2.6.0 (#138239) 2025-02-10 16:25:39 -06:00
Michael Hansen 6bc6111771
Add Wyoming satellite announce (#138221)
* Add Wyoming satellite announce

* Initialize when necessary
2025-02-10 14:36:20 -06:00
Erik Montnemery f83c8de8d3
Update signature of platforms' async_setup_entry (#138201) 2025-02-10 21:08:03 +01:00
Manu dc07f72fc2
Bump habiticalib to v0.3.7 (#137993)
* bump habiticalib to 0.3.6

* bump to v0.3.7
2025-02-10 20:37:54 +01:00
Martin Hjelmare a62619894a
Rework ondilo ico coordinator (#138204)
Rework ondilo ico coordinators
2025-02-10 20:36:10 +01:00
Norbert Rittel 20f6bd309e
Change light.turn_on and light.turn_off descriptions to match HA style (#138213)
Change light.turn_on and turn_off descriptions to match HA style

Also remove one excessive comma from the light.toggle action description.
2025-02-10 20:34:38 +01:00
Norbert Rittel 12173a9d62
Replace (wrong) xiaomi vacuum action key names with friendly names (#138214)
Replace (wrong) xiaomi action key names with friendly names
2025-02-10 20:34:12 +01:00
Shay Levy 68eb0d81c8
Fix LG webOS TV fails to setup when device is off (#137870) 2025-02-10 20:32:41 +01:00
Manu 5529fbdc94
Allow ignored IronOS devices to be set up from the user flow (#138223) 2025-02-10 21:18:31 +02:00
Andrew Sayre 7aab1de72d
Bump pyheos to v1.0.2 (#138224)
Bump pyheos
2025-02-10 21:18:12 +02:00
Bram Kragten c06ad5d799
Update frontend to 20250210.0 (#138227) 2025-02-10 20:11:39 +01:00
dependabot[bot] 21d5c5199c
Bump github/codeql-action from 3.28.8 to 3.28.9 (#138184)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.28.8 to 3.28.9.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v3.28.8...v3.28.9)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-10 20:08:16 +01:00
Markus Adrario 9ca93ebf12
bump pyHomee to 1.2.7 (#138212) 2025-02-10 20:04:57 +01:00
Josef Zweck e3fa739446
Add caching to onedrive (#137950)
* Add caching to onedrive

* Move cache invalidation
2025-02-10 19:52:28 +01:00
Jan Bouwhuis 663860e9c2
Improve description in Intergas entry setup form (#138225)
Improve description in  Intergas entrry setup form
2025-02-10 19:47:41 +01:00
Nathan Spencer 5c0ea9e845
Convert coinbase account amounts as floats to properly add them together (#137588)
Convert coinbase account amounts as floats to properly add
2025-02-10 18:11:40 +02:00
Erik Montnemery e1817d466e
Keep one backup per backup agent when executing retention policy (#138189)
* Keep one backup per backup agent when executing retention policy

* Add tests

* Use defaultdict instead of dict.setdefault

* Update hassio tests
2025-02-10 18:09:57 +02:00
Jan-Philipp Benecke 53d011f345
Improve inexogy logging when failed to update (#138210) 2025-02-10 17:59:18 +02:00
Erik Montnemery 4b34d1bbb5
Merge config subentry feature branch to dev (#136121)
* Reapply "Add support for subentries to config entries" (#133470) (#136061)

* Reapply "Add support for subentries to config entries" (#133470)

This reverts commit ecb3bf79f3.

* Update test snapshot

* Add config subentry support to device registry (#128157)

* Add config subentry support to device registry

* Apply suggestions from code review

* Update syrupy serializer

* Update snapshots

* Address review comments

* Allow a device to be connected to no or a single subentry of a config entry

* Update snapshots

* Revert "Allow a device to be connected to no or a single subentry of a config entry"

This reverts commit ec6f613151cb4a806b7961033c004b71b76510c2.

* Update test snapshots

* Bump release version in comments

* Rename config_subentries to config_entries_subentries

* Add config subentry support to entity registry (#128155)

* Add config subentry support to entity registry

* Update syrupy serializer

* Update snapshots

* Update snapshots

* Accept suggested changes

* Clean registries when removing subentry (#136671)

* Clean up registries when removing subentry

* Update tests

* Clean up subentries from deleted devices when removing config entry (#136669)

* Clean up subentries from deleted devices when removing config entry

* Move

* Add config subentry support to entity platform (#128161)

* Add config subentry support to entity platform

* Rename subentry_id to config_subentry_id

* Store subentry type in subentry (#136687)

* Add reconfigure support to config subentries (#133353)

* Add reconfigure support to config subentries

* Update test

* Minor adjustment

* Rename supported_subentry_flows to supported_subentry_types

* Address review comments

* Add subentry support to kitchen sink (#136755)

* Add subentry support to kitchen sink

* Add subentry reconfigure support to kitchen_sink

* Update kitchen_sink tests with subentry type stored in config entry

* Update kitchen_sink

* Update kitchen_sink

* Adjust kitchen sink tests

* Fix hassfest

* Apply suggestions from code review

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

* Improve docstrings and strings.json

---------

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

* Update snapshots

* Update snapshots

* Update snapshots

* Update snapshots

* Update snapshots

* Update snapshots

* Update snapshots

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2025-02-10 16:40:07 +01:00
Nathan Spencer 854af1449b
Bump pybalboa to 1.1.2 (#138139)
* Bump pybalboa to 1.1.1

* Bump pybalboa to 1.1.2
2025-02-10 13:50:35 +01:00
epenet 9e04f618b8
Adjust 'Install all test requirements' task to include base requirements (#137642) 2025-02-10 12:11:33 +00:00
Marc Mueller e1d3549ce3
Improve blueprint importer typing (#138194) 2025-02-10 12:53:44 +01:00
Josef Zweck b89f9a5961
Bump onedrive-personal-sdk to 0.0.10 (#138186) 2025-02-10 13:41:28 +02:00
kiran Bhakre de86e4bd3c
Add authorities to london_air (#137349)
* Update sensor.py

added Hounslow and hammersmith

* Update sensor.py

maintain the alphabetical order

* Update homeassistant/components/london_air/sensor.py

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

---------

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2025-02-10 11:39:48 +01:00
Daniel O'Connor 38b8df8f6f
Prevent crash if telegram message failed and did not generate an ID (#137989)
Fix #137901 - Regression introduced in 6fdccda225
2025-02-10 11:47:02 +02:00
pglab-electronics 8c602d74f3
Add pglab integration (#109725)
* Add PG LAB Electronics integration

* Add time from last boot sensor diagnostic

* Limit the initial new pglab integration to only one platform

* Update FlowHandler with the new return type ConfigFlowResult

* Fix docstring file with the right integration name to PG LAB.

* There is no need for default value in the callback definition.

* Move all mqtt callbacks to be global and also renamed with a better name.

* Removed unused member variables.

* Renaming functions with a better name.

* Adding miss docstring to __build_device.

* Renamed CreateDiscovery with a better name.

* Removing not so meaning comment.

* Avoid to populate hass.data with pglab discovery information. Use hass.data[DOMAIN] instead.

* Revert "Removed unused member variables."

This reverts commit 4193c491ec.

* Removed unused member variables.

* Refactoring of const. Be sure to have in const.py constant that are used in at least two other modules

* Restoring back the process to unregister the plaform when unload the integration.

* fix spelling mistake

* Revert "Move all mqtt callbacks to be global and also renamed with a better name."

This reverts commit d94d8010d5.

* Main refactoring to avoid to store PG Lab discovery in hass.data

* Change class name  BaseEntity in PGLabEntity. And named PyPGLab...  what imported from external python module pypglab.

* Avoid to use dict to create DeviceInfo

* Removing unused parameter

* Removing not necessary call to base class

* Update entity name/id to be compatible with the new integration policy.

* Upate test to new entity id

* Add new line after file description

* avoid to store in local variable data for calling function

* Move PGLABConfigEntry in __init__.py

* change function to pure callback

* to avoid hang, dont' trust the split of the discovery topic... introduce a max split count

* rename method with a more meaning name

* use assignment operator

* rename variable with a better name

* removing unecessary test

* Raise exception in case of unexpected error during discovery

* Review comments all other the intergration.

* Rename classes to be consistent in integration

* Using new feature single_config_entry to allow single instance integration

* rename class FlowHandler to PGLabFlowHandler

* using __package__ to initialize integration logger

* missing to catch the exception when for some reason is not possible to create the discovery instance. This can happen when the discovery MQTT message is not in valid json format.

* using ATTR_ENTITY_ID instead of the string

* using SOURCE_MQTT, SOURCE_USER instead of config_entries.SOURCE_MQTT, config_entries.SOURCE_USER

* Using FlowResultType.ABORT instead of the string value

* Code refactoring for tests of configuration from USER and MQTT

* Remove to the user the possibility to add PGLab integration manually, and remove not needed tests.

* Change test_device_update to use snapshot to check test result

* Raise exeception in case of unexpected device and entity_id

* Avoid to log on info channel.

* Renamed _LOGGER in LOGGER

* Propage the call to the base class

* Remove not needed code because from the manifest it's only allows a single instance

* Using specific type for result test instead of string value

* Code refactoring, avoid not necessary function

* update to the new way to import mqtt components

* Avoid runtime check

* add err variable for catching the exception

* add doc string to mqtt_publish

* add doc string to mqtt_subscribe

* Rename DiscoverDeviceInfo.add_entity_id in add_entity

* add doc string

* removing not meaning documentation string

* fix spelling

* fix wrong case in docstring

* fix spelling mistake in PyPGLab callback name

* rename mqtt message received callback

* Avoid to store hard coded discovery_prefix

* Removing unused strings from strings.json

* Give to the user more information during config_flow, and add the possibility to add manually the integration

* Fix to avoid fails of auto test

* update discovery test

* Be sure to always subscribe to MQTT topic when entity is added to HA

* Update codeowner of PGLAB integration and test

* Add control to check if mqtt is available during integration setup

* New test for check no state change for disable entity switch

* Remore not more used file

* update pypglab to version 0.0.3 and improve the symmetry to subscribe/unsubscribe to mqtt entity topic and to register/deregister the status update callback

* Update codeowner of pglab integration

* Adding quality_scale

* removing async_setup

* Fix spelling mistake

* Added test to cover config_flow.async_step_user

---------

Co-authored-by: Pierluigi <p.garaventa@gmail.com>
2025-02-10 08:19:42 +01:00
Allen Porter 15223b3679
Update Ollama to use streaming API (#138177)
* Update ollama to use streaming APIs

* Remove unnecessary logging

* Update ollama to use streaming APIs

* Remove unnecessary logging

* Update homeassistant/components/ollama/conversation.py

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

---------

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2025-02-09 21:05:41 -08:00
Allen Porter ae38f89728
Update anthropic to use the new chatlog API (#138178)
* Update anthropic to use the new chatlog API

* Remove conversation id logging

* Add back whitespace

* Reduce unnecessary diffs

* Revert diffs to conversation component

* Replace types with union type
2025-02-09 20:42:15 -08:00
Paulus Schoutsen 29c6a2ec13
Add pipeline intent-progress events based on deltas (#138095)
Add intent progress Assist event
2025-02-09 18:09:52 -08:00
Paulus Schoutsen fa3acde684
Make MockChatLog reusable for other integrations (#138112)
* Make MockChatLog reusable for other integrations

* Update tests/components/conversation/__init__.py
2025-02-09 20:19:28 -05:00
Paulus Schoutsen cabb406270
Fix user input not added to chat log from contextvar (#138173) 2025-02-09 16:34:25 -08:00
Abílio Costa c2bb376c43
Handle generic agent exceptions when getting and deleting backups (#138145)
* Handle generic agent exceptions when getting backups

* Update hassio test

* Update delete_backup
2025-02-10 01:31:55 +01:00
Norbert Rittel 2f12187498
Replace duplicate keys with reference, improve field description (#138123)
- replace two fan_speed.name fields with references (analog to the fan_speed.description fields)
- make the description field a little more informative (it presents a slider from 0 to 100 %)
2025-02-10 00:04:00 +01:00
Andrew Jackson 31d2d968c4
Add optional media description to Mastodon post action (#137224)
Add optional media description
2025-02-10 00:01:53 +01:00
Christopher Fenner c8b4e62710
Add battery level sensor for ViCare zigbee devices (#137813)
* add battery level sensor

* add uom

* adapt test case
2025-02-09 23:50:03 +01:00
William Scanlon dafc331e85
Bump pyeconet to 0.1.27 (#136400) 2025-02-09 23:45:33 +01:00
J. Nick Koston 0017192ca4
Bump google-cloud-pubsub to 2.28.0 (#137742)
changelog: https://github.com/googleapis/python-pubsub/compare/v2.23.0...v2.28.0

getting this updates so it will be a smaller bump once
protobuf 6 is supported https://github.com/home-assistant/core/pull/137736
2025-02-09 23:44:17 +01:00
Brynley McDonald 0408e732d7
Add extra tests to `flick_electric` (#138017)
Add extra tests to flick_electric
2025-02-09 23:40:34 +01:00
Marc Mueller 9467709068
Use generics for deprecation helpers (#138171) 2025-02-09 23:38:58 +01:00
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
jdelaney72 e8e4d2a83c
Add unique ID for NOAA Tides sensor (#137988) 2025-02-09 22:32:11 +01:00
Jan Bouwhuis 7678f8fddd
Revert "Clear statistics when you unload the Opower integration (#135908)" (#138163)
* Revert "Clear statistics when you unload the Opower integration (#135908)"

This reverts commit aa19207ea4.

* Fix OpowerConfigEntry imports

* Re-add entry type hint  to coordinator
2025-02-09 13:12:04 -08:00
Michael 49968904b2
Explicitly pass in the config_entry in homeassistant_alerts coordinator (#138153)
explicitly pass in the config_entry in coordinator
2025-02-09 22:44:13 +02:00
Michael 08dbd83a55
Explicitly pass in the config_entry in ipp coordinator (#138138)
explicitly pass in the config_entry in coordinator
2025-02-09 22:43:46 +02:00
Michael 427013124c
Explicitly pass in the config_entry in iron_os coordinator (#138137)
explicitly pass in the config_entry in coordinator
2025-02-09 22:42:15 +02:00
Michael 5dea4164a5
Explicitly pass in the config_entry in hydrawise coordinator (#138148)
explicitly pass in the config_entry in coordinator
2025-02-09 22:27:47 +02:00
Michael a27dd08a7c
Explicitly pass in the config_entry in habitica coordinator (#138156)
explicitly pass in the config_entry in coordinator
2025-02-09 22:26:11 +02:00
Michael 6b24bae084
Explicitly pass in the config_entry in hunterdouglas_powerview coordinator (#138151)
explicitly pass in the config_entry in coordinator
2025-02-09 21:19:57 +01:00