Commit Graph
84309 Commits
Author SHA1 Message Date
Michael HansenandGitHub 36a1eaedcf Trim the text of todo and shopping list items in intents (#128456) 2024-10-15 11:44:32 -04:00
Artur PragaczandGitHub bb9f534259 Improve intent recognition in default conversation agent (#124282)
Use the same logic for custom sentences.
Prefer higher quality (longer) names.
2024-10-15 09:14:31 -05:00
hahn-thandGitHub cf9e5ae5a0 Add support HmIP-BSL after firmware update to 2.0 to homematicip_cloud (#117657)
* Rebase

* Fix number of loaded entities

* Reduce redundant code

* Remove unneccessary import in test_light
2024-10-15 15:26:33 +02:00
Jordan ZuckerandGitHub d2db25c7dd Refactor prometheus integration tests (#113849)
* Starting with a simple change

* And trying again but actually adding the new area to this

* And that's getting interesting

* Wanted to add some small things to gitignore too

* More metrics clean up

* The linter is harsh

* Need to adjust a ton of tests

* I was finally able to commit

* Trying to abstract metrics into a helper class

* Fixed some tests at least

* Making progress on tests

* Getting really close now

* Only 1 or 2 tests left to fix

* Only 1.5 tests left

* That's more than enough for tonight

* Got all the tests passing!

* Another pass at test clean up

* Fixed up all the tests, again

* More clean up needed

* Got device_class working just need to fix one test I broke

* Got all the existing tests working!

* Refactored helpers into a separate file

* I added some new tests! For the helpers, ironically

* Don't touch those files

* Don't include that either

* Added my first real test

* Rolling back some logic changes to focus solely on tests

* Curious what happens when I run the tests now

* Getting closer to making things pass

* Getting closer to a working pr now

* Keeping up with test fixes

* Getting much closer to something useful

* Saving piecemeal

* Getting closer to a final working version

* Now that's an improvement

* And moving a little forward

* And now I'm really inching closer

* Saving more complex test case fix

* And now only 3 tests left

* Getting close and only a few tests left

* I think I'm close with only 1 test left

* Does this mean the tests actually work now

* Was not using the helper classes anymore

* Now I'm really curious

* Need to rename the recently renamed class

* Was it really that easy? (No, it wasn't)

* Is this finally enough

* Also added another full percentage point of tests

* Trying to clean things up a bit more

* Now how does this look?

* Just a little more clean up

* Added a few more tests for the new helper functions

* Last pass on much better tests for this

* Oops, forgot to remove redundant tests

* Fix the fixtures

* Getting closer to something decent, I hope

* Another pass on the formatting of the number 1

* And yet another pass on these tests

* Tests cleaned up a bit more

* Minor updates as suggested

* Another pass on assert with metrics helper

* Now this is fully tested
2024-10-15 14:22:36 +02:00
epenetandGitHub 2542ddd30a Improve check for user-visible flows when checking translations in tests (#128434)
* Improve check for user-visible flows when checking translations in tests

* Fix nest (from DHCP)

* Ignore homeassistant_hardware

* Improve logic
2024-10-15 14:09:53 +02:00
JulianandGitHub 260d919f80 Fix translation string in spotify (#128440)
* Fix translation string in spotify

* Remove ignore_translations from spotify config_flow test

* Fix formatting in config flow test for spotify
2024-10-15 14:00:34 +02:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
fa8284d360 Bump github/codeql-action from 3.26.12 to 3.26.13 (#128420)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-15 13:52:46 +02:00
fb7bed2ea0 Add WS endpoint to fetch the details of a backup (#128430)
* Add WS endpoint to fetch the details of a backup

* Shorten

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

* Adjust

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2024-10-15 13:00:34 +02:00
epenetandGitHub 84b2c74057 Fail on unused ignore_translations fixture (#128422)
* Fail on unused ignore_translations fixture

* Cleanup melcloud

* Use pytest.fail

* Cleanup tplink

* Cleanup matter
2024-10-15 12:40:47 +02:00
a14cb13194 Add BaseBackupManager as a common interface for backup managers (#126611)
* Add BaseBackupManager as a common interface for backup managers

* Document the key

* Update homeassistant/components/backup/manager.py

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

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-10-15 12:31:12 +02:00
Marc MuellerandGitHub 78fce90178 Fix pytest workflow for testing multiple Python versions [ci] (#128412) 2024-10-15 12:28:52 +02:00
JulianandGitHub a158e893e0 Fix translation string in matter (#128364)
* Fix translation string in matter

* Reorder strings.json for matter component
2024-10-15 11:56:56 +02:00
epenetandGitHub 117bc67a4c Adjust homewizard translation strings (#128423)
* Add missing translation for homewizard

* Adjust
2024-10-15 11:34:20 +02:00
epenetandGitHub 9930473390 Add missing translation for youtube (#128431) 2024-10-15 11:29:17 +02:00
JulianandGitHub b41ef73ecb Fix translation string in iotty (#128385) 2024-10-15 10:59:25 +02:00
JulianandGitHub 52b6574240 Fix translation string in rova (#128402) 2024-10-15 10:53:58 +02:00
Brett AdamsandGitHub 0d857d3e6a Fix reauth strings in Teslemetry (#128426)
* config strings

* remove entry_data
2024-10-15 10:47:26 +02:00
epenetandGitHub 3ba3fbf4a5 Add tests/components/conftest.py to core files (#128425) 2024-10-15 10:34:54 +02:00
Cyrill RaccaudandGitHub c3e7fcc153 Response type should not contain datetime for Swiss Public Transport (#128391)
* response type should not contain datetime

* use isoformat
2024-10-15 07:35:05 +02:00
Marc MuellerandGitHub 2c00cd489e Fix go2rtc test RuntimeWarnings (#128411) 2024-10-15 01:11:01 +02:00
OliverandGitHub df52f3f0e1 Fix initialization of some denonavr receivers when telnet API is enabled (#127882)
Suppress `denonavr.exceptions.AvrProcessingError` when connecting to telnet API
2024-10-14 23:23:44 +02:00
Thomas55555andGitHub 11e8e56e05 Improve internal naming (#128390)
* Improve internal naming

* revert select
2024-10-14 23:15:02 +02:00
JulianandGitHub a5ecbd547c Fix translation string in gardena_bluetooth (#128387) 2024-10-14 21:53:36 +02:00
866912d3f7 Keep the provided name when creating a tag (#128240)
* Keep the name

* Add patch

* Update homeassistant/components/tag/__init__.py

Co-authored-by: G Johansson <goran.johansson@shiftit.se>

---------

Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2024-10-14 21:22:12 +02:00
JulianandGitHub 56e550f136 Fix translation string in eq3btsmart (#128319) 2024-10-14 18:46:38 +02:00
JulianandGitHub 1e179adcf2 Fix translation string in lifx (#128362) 2024-10-14 18:45:42 +02:00
JulianandGitHub c5fe7ea0ea Fix translation string in weatherflow (#128321) 2024-10-14 18:15:40 +02:00
epenetandGitHub fdda0cc9cc Use reauth/reconfigure helpers in tedee config flow (#128025)
* Use reauth/reconfigure helpers in tedee config flow

* Also cleanup unnecessary reconfigure_confirm
2024-10-14 18:01:47 +02:00
epenetandGitHub f9dfc64c6f Use long option for pytest numprocesses (#128354) 2024-10-14 17:20:58 +02:00
epenetandGitHub f41494b7cc Ensure config_flow abort reasons have translations (#128140)
* Ensure config_flow abort reasons have translations

* Ignore fake_integration in application_credentials

* Mark gardena_bluetooth as needs fixing

* Mark google as needs fixing

* Mark google_assistant_sdk as needs fixing

* Mark homewizard as needs fixing

* Mark homeworks as needs fixing

* Mark honeywell as needs fixing

* Mark jewish_calendar as needs fixing

* Mark lg_netcast as needs fixing

* Mark lifx as needs fixing

* Mark lyric as needs fixing

* Mark madvr as needs fixing

* Mark matter as needs fixing

* Mark melcloud as needs fixing

* Mark motioneye as needs fixing

* Mark ollama as needs fixing

* Mark philips_js as needs fixing

* Mark spotify as needs fixing

* Mark srp_energy as needs fixing

* Mark subaru as needs fixing

* Mark tplink as needs fixing

* Mark yolink as needs fixing

* Mark youtube as needs fixing

* Fix incorrect comment
2024-10-14 16:39:10 +02:00
JulianandGitHub 821d9abc56 Fix translation string in melcloud (#128363)
* Fix translation strings in melcloud

* Fix wrong key reference for "invalid_auth"
2024-10-14 16:03:53 +02:00
Robert ReschandGitHub f5b55d5eb3 Rewrite go2rtc binary handling to be async (#128078) 2024-10-14 15:32:00 +02:00
Josef ZweckandGitHub cdb1b1df15 Add model_id to tedee (#128356) 2024-10-14 14:56:27 +02:00
JulianandGitHub 8e6b41e637 Fix translation string in yolink (#128353) 2024-10-14 14:45:14 +02:00
JulianandGitHub 1f7cc5f5ec Fix translation string in tplink (#128352) 2024-10-14 14:01:27 +02:00
epenetandGitHub 1a0c3a49b9 Use async_update_reload_and_abort in awair (#128345) 2024-10-14 13:27:04 +02:00
epenetandGitHub c4e2e9c4f0 Use reauth_confirm in azure_devops (#128349) 2024-10-14 13:24:08 +02:00
Andrew JacksonandGitHub 7df973648c Strip path from Mastodon base url (#127994) 2024-10-14 13:20:25 +02:00
epenetandGitHub 25aea140be Cleanup unnecessary reconfigure_confirm from config flows (#128086) 2024-10-14 12:57:15 +02:00
JulianandGitHub 8d2cf0cf38 Fix translation string in tankerkoenig (#128320) 2024-10-14 12:33:13 +02:00
epenetandGitHub d2bbfe1282 Refactor abode config flow tests (#128334)
* Refactor abode config flow tests

* Cleanup
2024-10-14 12:13:47 +02:00
epenetandGitHub 6d72391ee1 Use reauth helpers in airvisual (#128335)
* Use reauth helpers in airvisual

* Cleanup unused code in tests
2024-10-14 11:46:14 +02:00
tronikosandGitHub a53e02b51b Bump opower to 0.8.4 (#128338) 2024-10-14 11:45:38 +02:00
epenetandGitHub 401e334c28 Remove single-use variable in aussie-broadband (#128340) 2024-10-14 11:45:12 +02:00
Josef ZweckandGitHub 4c10ce6f40 Add model_id to lamarzocco (#128344) 2024-10-14 11:45:02 +02:00
J. Nick KostonandGitHub fed6a4689f Bump yarl to 1.15.2 (#128309)
changelog: https://github.com/aio-libs/yarl/compare/v1.15.1...v1.15.2
2024-10-14 08:14:38 +02:00
6dc5a9efde Fix translation string in knocki (#128318)
* Fix translation string in knocki

* Update homeassistant/components/knocki/strings.json

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-10-13 22:18:08 +02:00
Chris TalkingtonandGitHub cb1e5a2412 Fix playing media via roku (#128133)
* re-support playing media via roku

* fixes

* test fixes

* Update test_media_player.py

* always send media type

* add description to options flow
2024-10-13 12:41:51 -05:00
Hans KrönerandGitHub f47a012c62 Bump pydeconz to v118 (#128289) 2024-10-13 19:37:02 +02:00
Elias WernickeandGitHub e6e22dc0bf Refactor todo tests (#128251)
refactor todo tests
2024-10-13 08:17:15 -07:00