Commit Graph

84327 Commits (9f2bdca9adf47d112bddfdab20c13e4b4f8f696d)

Author SHA1 Message Date
epenet 9f2bdca9ad
Use unique_id_mismatch in aseko_pool_live reauth (#128339) 2024-10-16 13:47:33 +02:00
epenet c5046f7809
Add check for valid abort reason translation in option flows (#128444) 2024-10-16 13:41:15 +02:00
epenet f7897bbd64
Fix incorrect error strings in weatherflow (#128447) 2024-10-16 13:40:31 +02:00
epenet 6442625a9d
Fix incorrect error strings in webmin (#128448) 2024-10-16 13:39:46 +02:00
epenet 5d079aacd6
Fix incorrect error strings in triggercmd (#128450) 2024-10-16 13:38:15 +02:00
epenet 0e7297873c
Add SOURCE_HASSIO to DISCOVERY_SOURCES (#128454) 2024-10-16 13:34:28 +02:00
Robert Resch dfb94d8917
Rename host to url in go2rtc config flow (#128508) 2024-10-16 13:33:47 +02:00
Joost Lekkerkerker ed445d0ab8
Add even more tests to Spotify (#128298) 2024-10-16 13:20:57 +02:00
Barry vd. Heuvel dddc1906c2
Add missing Weheat temperature sensors (#128452)
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-10-16 11:53:39 +02:00
Christopher Fenner 144454b8c3
Remove duplicate oauth2 token validity check (#128419)
* remove duplicate validity check

* Apply suggestions from code review

* add leftover

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-10-16 11:42:44 +02:00
epenet 8ae8fa7ec9
Add SOURCE_SYSTEM to DISCOVERY_SOURCES (#128457) 2024-10-16 11:27:48 +02:00
Petar Petrov 1ff1b82fc7
Mark custom components that overwrite core (#127937) 2024-10-16 09:28:19 +02:00
J. Nick Koston 5d590bc2cf
Bump yarl to 1.15.3 (#128499)
changelog: https://github.com/aio-libs/yarl/compare/v1.15.2...v1.15.3
2024-10-16 08:46:19 +02:00
Artur Pragacz 866f1e70a4
Fix default conversation agent tests (#128490) 2024-10-15 22:21:18 -05:00
Julian e273148a89
Fix translation string in lyric (#128386)
* Fix translation string in lyric

* Remove ignore_translations from lyric config_flow test
2024-10-15 22:10:56 +02:00
Michael Schäfer c5f8d823ce
Add missing translation string in unifi (#128062)
Add missing translation string in unigi
2024-10-15 20:23:26 +02:00
Joakim Sørensen 25e887b457
Move backup plaform loading to the base class (#128449) 2024-10-15 12:44:13 -04:00
DJ aac5ac6057
Replace webexteamssdk with webexpythonsdk (#127928) 2024-10-15 17:54:59 +02:00
Michael Hansen 36a1eaedcf
Trim the text of todo and shopping list items in intents (#128456) 2024-10-15 11:44:32 -04:00
Artur Pragacz 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-th 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 Zucker 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
epenet 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
Julian 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] 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
Joakim Sørensen 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
epenet 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
Joakim Sørensen 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 Mueller 78fce90178
Fix pytest workflow for testing multiple Python versions [ci] (#128412) 2024-10-15 12:28:52 +02:00
Julian 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
epenet 117bc67a4c
Adjust homewizard translation strings (#128423)
* Add missing translation for homewizard

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

* remove entry_data
2024-10-15 10:47:26 +02:00
epenet 3ba3fbf4a5
Add tests/components/conftest.py to core files (#128425) 2024-10-15 10:34:54 +02:00
Cyrill Raccaud 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 Mueller 2c00cd489e
Fix go2rtc test RuntimeWarnings (#128411) 2024-10-15 01:11:01 +02:00
Oliver 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
Thomas55555 11e8e56e05
Improve internal naming (#128390)
* Improve internal naming

* revert select
2024-10-14 23:15:02 +02:00
Julian a5ecbd547c
Fix translation string in gardena_bluetooth (#128387) 2024-10-14 21:53:36 +02:00
Simon Lamon 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
Julian 56e550f136
Fix translation string in eq3btsmart (#128319) 2024-10-14 18:46:38 +02:00
Julian 1e179adcf2
Fix translation string in lifx (#128362) 2024-10-14 18:45:42 +02:00
Julian c5fe7ea0ea
Fix translation string in weatherflow (#128321) 2024-10-14 18:15:40 +02:00
epenet 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
epenet f9dfc64c6f
Use long option for pytest numprocesses (#128354) 2024-10-14 17:20:58 +02:00
epenet 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
Julian 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 Resch f5b55d5eb3
Rewrite go2rtc binary handling to be async (#128078) 2024-10-14 15:32:00 +02:00