Commit Graph
112481 Commits
Author SHA1 Message Date
Norbert Rittel 64fa9b78f8 Fix typos in user-facing strings of Bayesian integration (#138364) 2025-02-12 12:39:43 +01:00
Markus Adrario 88b444fa5b Add Homee sensor tests (#137200) 2025-02-12 11:35:36 +00:00
Norbert RittelandAbílio Costa 487a4ac5c4 Improve field names and descriptions of easyEnergy actions (#138319)
Co-authored-by: Abílio Costa <abmantis@users.noreply.github.com>
2025-02-12 11:28:15 +00:00
TimL a3cde3d8ab Fix authentication error when adding new devices to SMLIGHT (#138373)
* Fix authentication issue

Fixes #138216

* Fix incorrect mocks in unsupported device tests

* set _device_name in auth flow also

* Update get_info Mock to handle authentication

* Update tests
2025-02-12 12:22:58 +01:00
Erik Montnemery 6ef1178a35 Use setup_backup_integration test helper in backup tests (#138362) 2025-02-12 09:49:01 +01:00
epenet 2033dbdd90 Use entry.async_on_unload in fireservicerota (#138360) 2025-02-12 09:22:35 +01:00
Erik Montnemery a6c51440e5 Use test helper for creating a mocked backup agent in backup tests (#138312)
* Use test helper for creating a mocked backup agent in backup tests

* Adjust according to discussion
2025-02-12 08:55:16 +01:00
1393f417ed Expose media_player async_browse_media as service (#116452)
* initial commit

* make fields optional

* x

* ruff issues

* ruff issues

* ruff issues

* ruff issues

* update example

* update description

* use constants

* Update homeassistant/components/media_player/strings.json

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

* update service call metadata

* update description

* patch the demo

* Update homeassistant/components/media_player/strings.json

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

* revert unrelated change

* update test metadata

* update test metadata

* change patch target to be more specific

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2025-02-12 01:06:13 +01:00
Allen Porter da1e3c29ed Update anthropic to use the streaming API (#138256) 2025-02-12 01:05:23 +01:00
Robert Resch 117a71cb67 Bump sentry-sdk to 1.45.1 (#138349) 2025-02-12 01:04:05 +01:00
Abílio Costa 48b8ec01e3 Add logs to Cloud component support package (#138230)
* Add logs to Cloud component support package

* Add section for logs

* Replace list with deque

* Copy the deque to avoid mutation during iteration
2025-02-11 23:05:19 +01:00
rrooggiieerrandFranck Nijhof 0ffbe076be Fix timer.cancel action fires timer.cancelled event even on canceled timers (#134507)
* Fixes https://github.com/home-assistant/core/issues/116105

* Fixes unit test in accordance to documentation

Timer needs to be active before it can be canceled

* Allow canceling of paused timers

* Add test for canceling/finishing already canceled/finished timers

* Add test for finishing a paused timer, this should not be possible

* Revert finish related tests

* Merge branch 'timer.cancelled_fix' of
git@github.com:rrooggiieerr/homeassistant-core.git into
timer.cancelled_fix

---------

Co-authored-by: Franck Nijhof <git@frenck.dev>
2025-02-11 22:08:18 +01:00
Allen Porter 8d5f927b42 Fix next authentication token error handling (#138299) 2025-02-11 21:47:36 +01:00
Erik Montnemery 6abf7b525a Improve test coverage of config subentries and fix related issues (#138321)
Improve test coverage of config subentries
2025-02-11 21:46:56 +01:00
Arie Catsman 6115def083 Bump pyenphase to 1.25.1 (#138327)
* Bump pyenphase to 1.25.1

* Add new opt_schedules to nephase_envoy test fixtures
2025-02-11 21:35:03 +01:00
rrooggiieerr 17089e822e Allow timer.finish on paused timers (#134552)
* Add test for finishing already finished timer

* Add test for finishing a paused timer

* Allow canceled timer to be finished
2025-02-11 21:26:13 +01:00
Norbert Rittel 7a556ac3ec Remove "true" / "false" and key name from yeelight.set_music_mode action (#138334) 2025-02-11 20:48:50 +01:00
Norbert Rittel 857e35b7fd Remove remaining occurrences of "true" / "false" in telegram_bot (#138329)
Make the field description UI-friendly.
2025-02-11 20:22:22 +01:00
epenet 2cea2258a2 Improve type hints in forked_daapd coordinator (#138287) 2025-02-11 18:27:27 +00:00
Norbert Rittel 444b9a9579 Improve user-facing strings of denonavr for better translations (#138322)
- fix sentence-casing for "network receiver" as this should be translated
- change "Ethernet" to upper-case
- replace "True/false for enable/disable" with UI-friendly description
2025-02-11 19:26:59 +01:00
Erik Montnemery fe3d6f93d7 Fix data_entry_flow.UnknownStep error message (#138288) 2025-02-11 18:56:18 +01:00
Joost Lekkerkerker 3489b20e86 Refactor SmartThings sensor platform (#138313) 2025-02-11 18:14:13 +01:00
epenet 8e7f35aa7d Use runtime_data in flo (#138307) 2025-02-11 17:42:58 +01:00
epenet 14e1b55b5a Do not test internals in flo tests (#138306)
* Do not test internals in flo tests

* fix
2025-02-11 17:26:58 +01:00
balazs92117 a85bb98743 Dsmr eon hungary (#138162)
Add EON hungary
2025-02-11 17:25:57 +01:00
RJPoelstra ab1e1c06b6 Set PARALLEL_UPDATES for MotionMount integration (#138264)
Set PARALLEL_UPDATES
2025-02-11 17:22:51 +01:00
Michael Hansen 6226542e4d Keep responding state on wake word start (#138244)
* Keep responding state on wake word start

* Add comment
2025-02-11 10:21:41 -06:00
epenet 7f376ff004 Use runtime_data in flux_led (#138279) 2025-02-11 17:09:06 +01:00
epenet 62b563eb60 Use runtime_data in flexit_bacnet (#138280) 2025-02-11 17:08:39 +01:00
epenet df4c718bac Use runtime_data in fjaraskupan (#138281) 2025-02-11 17:00:44 +01:00
Steven HartlandandMartin Hjelmare 1a4738b1d4 Fix scaffolding integration generation (#138247)
* fix(scaffold): integration generation

Fix script.scaffold integration generation which was failing due to
hassfest quality check.

Add the required `quality_scale` to the generated integration
manifest.json.

Use the new `--skip-plugins` flag to skip the hassfest quality check
when generating integrations, as the quality scale rules are marked as
todo, and only run against the generated integration.

Correct typo in help for hassfest command `--plugins` flag.

Update Integration.core method to use absolute path to ensure it returns
the true if the integration is a core integration, which was causing
other checks to fail, as the integration was not being marked as core.

Always output subprocess output as it contains the error message when a
command fails, without this the user would not know why the command
failed.

Fixes: #128639

* Adjust comment language

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2025-02-11 16:24:04 +01:00
Erik Montnemery 8b3421deb7 Add test helper for creating a mocked backup agent (#138294)
* Add test helper for creating a mocked backup agent

* Address review comments
2025-02-11 16:21:24 +01:00
Erik Montnemery 10180cd464 Fix BackupManager.async_delete_backup (#138286) 2025-02-11 14:53:07 +01:00
Piotr Buliński 2784a28ef7 Flexit BACnet: Cooker hood mode support (#138229) 2025-02-11 14:39:42 +01:00
Erik Montnemery 31ea2e1714 Improve error reporting in onboarding backup API (#138203) 2025-02-11 13:48:13 +01:00
Erik Montnemery 77486b9306 Improve config_entries tests (#138274)
* Improve config_entries tests

* Drop unnecessary use of OrderedDict
2025-02-11 13:17:54 +01:00
Erik Montnemery 428cc1a951 Update signature of platforms' async_setup_entry in tests (#138271) 2025-02-11 13:17:39 +01:00
Norbert Rittel 89f157592d Simplify the description of insteon.load_all_link_database action (#138275)
This also replaces "true" with "enabled" to better it match the toggle in the UI.
2025-02-11 13:15:11 +02:00
Allen Porter 3578f4ebbf Refresh nest access token before before building subscriber Credentials (#138259) 2025-02-11 11:51:30 +01:00
Christopher Fenner 0d605f9f74 Improve device naming for ViCare integration (#138240)
Update entity.py
2025-02-11 11:42:21 +01:00
Manu e71f8c444b Add user profile info to Habitica sensor and device URL (#137152)
Add user profile attributes to Habitica sensor and device URL
2025-02-11 11:41:11 +01:00
Norbert Rittel d46e29d7a9 Make field descriptions in knx actions UI-friendly (#138268)
- drop `true` / `false` to match the toggle in the UI
- replace `address` key with its friendly name in the UI
2025-02-11 11:36:18 +01:00
Norbert Rittel 24293c5bfe Remove "true" / "false" from field descriptions in osoenergy (#138267)
Make two fields descriptions UI-friendly as there is now a toggle to turn the options on or off.
2025-02-11 11:35:13 +01:00
Norbert Rittel a4decabf3b Remove question marks and "true/false" from action fields in zwave_js (#138263)
- change three field names from a question to just a name
- remove "true" / "false" to reflect that these are toggles in the UI
2025-02-11 09:54:49 +01:00
Erik Montnemery ec0cef0611 Unify error reporting in onboarding backup API (#138200) 2025-02-11 09:47:09 +01:00
Paulus Schoutsen 35416189f2 Remove some unused tests from Google Generative AI (#138249)
* Remove some unused tests from Google Generative AI

* Remove unused snapshots
2025-02-10 18:25:34 -08:00
Diogo Gomes 6102c2b451 Bump pyipma to 3.0.9 (#138238) 2025-02-10 21:03:31 -05:00
Jamin 97a8f24f8e Allow specifying SIP username for outgoing calls (#137059)
* Allow specifying SIP username for outgoing calls

Allow configuring a SIP username to be sent in outgoing call requests to
identify the home assistant source endpoint.

* Remove advanced options section

* Add test for removing user

* Allow unsetting SIP user

Make previous SIP user value a suggested value rather than default to
allow unsetting by submitting an empty value in the form.

* Remove unnecessary checks

Remove user check from main flow and remove none or empty check.
2025-02-10 19:24:59 -05:00
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