Commit Graph

24356 Commits (27a19be369a08e06dca7a59eff50a250848c62d6)

Author SHA1 Message Date
epenet be4641b8f3
Push real binary sensor states to state machine in tests (#128894) 2024-10-21 16:19:25 +02:00
Erik Montnemery e861cab727
Add update_percentage state attribute to update entity (#128877)
* Add update_percentage state attribute to update entity

* Update tests

* Update tests
2024-10-21 15:31:48 +02:00
Steven B. f8f87ec091
Add reconfigure flow to ring integration (#128357)
Co-authored-by: Christopher Fenner <9592452+CFenner@users.noreply.github.com>
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-10-21 15:30:05 +02:00
Petar Petrov 106746ce58
Include Z-Wave JS lowSecurityReason in node added websocket message (#128896)
* Propagate lowSecurityReason to FE when adding a zwavejs device insecurely

* update tests
2024-10-21 14:27:04 +02:00
Cyrill Raccaud 62773fa88a
Simplify Swiss public transport coordinator (#128891) 2024-10-21 14:15:18 +02:00
Paul Bottein 28a8ed62f3
Add translations for Netatmo thermostat preset modes (#128890) 2024-10-21 13:00:23 +02:00
Erik Montnemery 0d447c9d50
Improve entity cached attributes (#128876) 2024-10-21 10:29:01 +02:00
Joost Lekkerkerker 827d6d1d2d
Add audio feature sensors to Spotify (#128785) 2024-10-21 09:46:38 +02:00
epenet 6bfed5c98c
Use new reauth helpers in yale_smart_alarm (#128836) 2024-10-20 23:52:37 +02:00
Alexander Knöbel f01231277b
Add humidity to KNX climate (#128844) 2024-10-20 22:17:00 +02:00
Christopher Fenner 1f9c06e606
Align consumption sensor names in ViCare integration (#127888) 2024-10-20 17:17:46 +02:00
LunaBytesBack 711c448242
Add Twitch stream viewer as readable data for integration (#128787) 2024-10-20 16:07:43 +02:00
peteS-UK 0c6a640e50
Add New Music Category for Media Browser (#128147) 2024-10-20 16:00:55 +02:00
Bouwe Westerdijk c8556f69e7
Bump plugwise to v1.4.3 (#128773) 2024-10-20 15:25:13 +02:00
Franck Nijhof 0b3f660626
Auto lower case username for Schlage auth flows (#128730) 2024-10-20 12:48:18 +02:00
tronikos 5f662988ff
Handle invalid zeroconf messages in Android TV Remote (#128819) 2024-10-20 09:56:30 +02:00
Joost Lekkerkerker 8ceecec5b8
Bump spotifyaio to 0.7.1 (#128807) 2024-10-20 09:49:23 +02:00
Paulus Schoutsen 28ff138370
Simplify custom component loading (#128813) 2024-10-20 09:47:27 +02:00
Álvaro Fernández Rojas ca4f971eb4
Fix Airzone Cloud climate temperature range (#128740) 2024-10-19 14:38:15 +02:00
starkillerOG 175a87f948
Catch Reolink LoginFirmwareError (#128590) 2024-10-19 13:02:29 +02:00
epenet f17c5bc334
Use new reauth helpers in samsungtv (#128729) 2024-10-19 11:24:41 +02:00
Allen Porter 5816342bed
Remove dead code and increase test coverage for google config flow (#128690) 2024-10-19 09:48:36 +02:00
Hans Kröner a815661de1
Add lighting effects to Hue lights managed by deCONZ (#128292)
* Add more effects for Philips Hue lights

* Update tests for light effects
2024-10-19 09:09:01 +02:00
Michael Hansen f21c8d895f
Block until config is retrieved when adding satellite entity to HA (#128685)
Block until config is retrieved
2024-10-18 16:01:18 -04:00
epenet 120e17fa1e
Improve logic for detecting unused ignore translations (#128441) 2024-10-18 17:59:06 +02:00
epenet 8c4b076746
Refactor rainforest_raven coordinator tests (#128591)
* Refactor rainforest_raven tests

* Remove assert

* Cleanup freezer

* Drop un-needed coordinator properties

* Cleanup remaining coordinator tests

* Improve

* Revert _DEVICE_TIMEOUT

* Ensure 100% coverage

* Use async_fire_time_changed
2024-10-18 16:00:42 +02:00
epenet 356e09091d
Add model_id to rainforest_raven device info (#128652)
* Remove single-use rainforest properties

* Add model_id
2024-10-18 15:50:34 +02:00
epenet bea13d039f
Use reauth_confirm in osoenergy (#128665) 2024-10-18 15:17:39 +02:00
Duco Sebel 1f8fd52103
Fix reload not triggered on DisabledError in HomeWizard (#128636)
* Fix reload not triggered on DisabledError in HomeWizard

* Update homeassistant/components/homewizard/coordinator.py

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

* Use helper and fix merge issue

* Add test to detect reload on DisabledError

* Wait until next update instead of a direct call to update

* Add doc why we reload

---------

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2024-10-18 14:48:41 +02:00
Claudio Ruggeri - CR-Tech 49d534e779
Add list as possible values for State On/Off ModBus Switch (#127444)
* add possibility to set multiple val on state

* Add support for list also in state_off
2024-10-18 10:10:47 +02:00
epenet 5a0ef149a5
Use reauth helpers in google_sheets (#128587) 2024-10-18 10:04:03 +02:00
starkillerOG 2d90ffcbf0
Update Reolink config entry port info if needed (#128589) 2024-10-18 10:00:28 +02:00
epenet 5580c3fda0
Use snapshot assertion in rainforest_raven diagnostic tests (#128602) 2024-10-18 09:57:38 +02:00
epenet 10d26bf734
Use snapshot assertion in rainforest_raven sensor tests (#128604) 2024-10-18 09:50:04 +02:00
MarkGodwin 57ef175050
Add sensors to Omada (#127767)
Co-authored-by: Joostlek <joostlek@outlook.com>
2024-10-18 09:48:06 +02:00
Duco Sebel 4251389c12
Remove ExternalDevice 'invalid ID' migration in HomeWizard (#128634) 2024-10-18 09:33:53 +02:00
G Johansson 6ff2ce1895
Use shorthand attribute in derivative sensor (#128610) 2024-10-18 09:33:02 +02:00
Markus Jacobsen 9037421a85
Bump mozart-api to 4.1.1.116.0 (#128573)
Bump API
Fix testing
2024-10-17 22:05:28 -04:00
Jan Morawiec 35ff3afa12
Refactor unittest tests to use pytest (#127770)
* Refactor unittest tests to use pytest

* Add type annotations

* Use caplog to assert logs

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-10-17 21:28:14 +02:00
Erik Montnemery 9d0701a62b
Improve camera tests (#128545) 2024-10-17 16:36:42 +02:00
David F. Mulcahey 065577c9ca
Keep ZHA entity enabled setting in sync with lib (#125472)
* Add ability to enable / disable entities in the ZHA lib

* disable entities at startup that are not enabled in HA

* fix IEEE lookup

* wrap in async_on_unload

* add test and correct lookup
2024-10-17 07:16:48 -04:00
Petar Petrov 8533f853c8
Increase Z-Wave fallback thermostat range to 0-50 C (#128543)
* Z-Wave JS: Increase fallback thermostat range to 0-50 C

* update test
2024-10-17 12:41:23 +02:00
epenet 906cecf087
Cleanup unused snapshots (#128549)
* Cleanup unused snapshots

* Cleanup a few more

* Cleanup systemmonitor

* Cleanup voip
2024-10-17 10:41:57 +02:00
puddly f6270d9cfc
Bump ZHA dependencies (#128539)
* Bump ZHA dependencies

* Remove unused ZHA color modes

* Rename `cluster` to `ota_cluster` in update tests to unshadow `cluster` in `endpoint_reply`

---------

Co-authored-by: TheJulianJES <TheJulianJES@users.noreply.github.com>
2024-10-16 22:15:00 -04:00
Julian 72f1c358d9
Fix translation string in guardian (#128535) 2024-10-16 22:09:15 +02:00
Jan-Philipp Benecke 4964470e9c
Remove deprecated panel_iframe integration (#128532) 2024-10-16 21:34:43 +02:00
Julian f4dfe7868b
Fix translation string in hyperion (#128384) 2024-10-16 21:28:17 +02:00
Jan-Philipp Benecke 82e9792b4d
Remove deprecated map integration (#128529) 2024-10-16 20:46:00 +02:00
Noah Husby af41a41046
Add select entity to Cambridge Audio (#128527)
* Add select entity to Cambridge Audio

* Add select entity to Cambridge Audio

* Update test name
2024-10-16 19:57:10 +02:00
Steven B. 59e5eb9a1c
Always use uv from virtual environment at runtime (#128371) 2024-10-16 19:42:25 +02:00
Klaas Schoute a0637a6ff8
Add port to config flow of P1 Monitor integration (#128324) 2024-10-16 19:40:20 +02:00
Joost Lekkerkerker 5497697cf2
Add diagnostics to Spotify (#128521) 2024-10-16 19:33:28 +02:00
epenet 0bc572787a
Add check for valid error code in translation checks in flows (#128445) 2024-10-16 19:03:24 +02:00
Álvaro Fernández Rojas 7c50b8185d
Update aioairzone-cloud to v0.6.7 (#128231) 2024-10-16 18:11:02 +02:00
epenet 350a27575f
Prevent leak of current_entry context variable (#128145) 2024-10-16 18:02:37 +02:00
Joost Lekkerkerker 494511e099
Migrate spotify to aiospotify (#127728) 2024-10-16 17:04:05 +02:00
Michael Hansen 11ac8f8006
Add conversation agent to Wyoming (#124373)
* Add conversation agent to Wyoming

* Remove error

* Remove conversation platform from satellite list

* Clean up

* Update homeassistant/components/wyoming/conversation.py

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>

* Remove unnecessary attribute

---------

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2024-10-16 09:07:56 -05:00
Michael Hansen bcac851677
Migrate Wyoming satellite to Assist satellite entity (#128488)
* Migrate Wyoming satellite to Assist satellite entity

* Fix tests

* Update homeassistant/components/wyoming/assist_satellite.py

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>

* Update homeassistant/components/wyoming/assist_satellite.py

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>

---------

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2024-10-16 08:59:44 -05:00
Joost Lekkerkerker c0f19dd963
Reorder Google Assistant Traits (#127646) 2024-10-16 15:04:46 +02:00
epenet e5a07da0c9
Add checks for config entry state in async_config_entry_first_refresh (#128148) 2024-10-16 14:06:25 +02:00
Jan Bouwhuis ac6d893758
Correct type hints on MQTT tests (#128299) 2024-10-16 13:49:18 +02:00
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 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
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
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 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
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
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
epenet 3ba3fbf4a5
Add tests/components/conftest.py to core files (#128425) 2024-10-15 10:34:54 +02:00
Marc Mueller 2c00cd489e
Fix go2rtc test RuntimeWarnings (#128411) 2024-10-15 01:11:01 +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
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 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
Robert Resch f5b55d5eb3
Rewrite go2rtc binary handling to be async (#128078) 2024-10-14 15:32:00 +02:00
Josef Zweck cdb1b1df15
Add model_id to tedee (#128356) 2024-10-14 14:56:27 +02:00
epenet 1a0c3a49b9
Use async_update_reload_and_abort in awair (#128345) 2024-10-14 13:27:04 +02:00
epenet c4e2e9c4f0
Use reauth_confirm in azure_devops (#128349) 2024-10-14 13:24:08 +02:00
Andrew Jackson 7df973648c
Strip path from Mastodon base url (#127994) 2024-10-14 13:20:25 +02:00
epenet 25aea140be
Cleanup unnecessary reconfigure_confirm from config flows (#128086) 2024-10-14 12:57:15 +02:00
epenet d2bbfe1282
Refactor abode config flow tests (#128334)
* Refactor abode config flow tests

* Cleanup
2024-10-14 12:13:47 +02:00
epenet 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
Josef Zweck 4c10ce6f40
Add model_id to lamarzocco (#128344) 2024-10-14 11:45:02 +02:00
Chris Talkington 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
Elias Wernicke e6e22dc0bf
Refactor todo tests (#128251)
refactor todo tests
2024-10-13 08:17:15 -07:00
Simone Chemelli e4f7ac6236
Add switch entity for Shelly scripts (#108171)
* introduce script switch only

* chore: add script switch test

* chore: apply review comments

* chore: fix tests

* chore: apply review comments
2024-10-13 15:11:40 +02:00
epenet 7e56b595a0
Do not link nextbus coordinator to config entry (#128151)
* Do not link nextbus coordinator to config entry

* Refactor tests and add specific failure test

* Use ConfigEntryNotReady

* Cleanup coordinator
2024-10-13 14:13:37 +02:00
epenet 3e56185a39
Use reconfigure helpers in axis config flow (#127976)
* Use reconfigure helpers in axis config flow

* Add string

* Update strings.json
2024-10-12 23:31:12 +02:00
Michael caf85fe61d
Fix printer uptime fluctuations in IPP (#127725)
* decrease uptime accuracy from seconds to minutes

* adjust tests

* calc uptime timestamp in coordinator

* bump pyipp to 0.17.0

* revert changes, just use the new printer.booted_at property

---------

Co-authored-by: Chris Talkington <chris@talkingtontech.com>
2024-10-12 13:22:03 -05:00
Jan Bouwhuis 3112682923
Mark mqtt as integration with single config entry (#128202) 2024-10-12 19:55:39 +02:00
Jan Bouwhuis edb30af441
Fix hassio data fetching over list[Repository] (#128206)
* Fix hassio data fetching over list[Repository]

* Parameterize store mock and add store data to sensor tests
2024-10-12 14:44:26 +02:00
Michael 8236a9529f
Mark integrations as single_config_entry in manifest [k-r] (#128191)
* mark integrations as single_config_entry in manifest

* fix owntracks test
2024-10-12 09:03:17 +02:00
Michael c50d0646ab
Mark integrations as single_config_entry in manifest [a-i] (#128189)
* mark integrations as single_config_entry in manifest

* fix ecobee tests

* fix iaqualink test
2024-10-12 08:59:57 +02:00
epenet abe02c3843
Cleanup unnecessary reconfigure_confirm in fritzbox config flow (#128087) 2024-10-12 08:42:59 +02:00
Michael 8e9e738bb8
Fix ci (dhcp tests) (#128207)
remove unused import
2024-10-12 02:20:54 +02:00
__JosephAbbey bd97a0dfe3
Add to-do list response target for ListAddItemIntent (#121970)
* Add todo list response target for ListAddItemIntent

* Delete .vscode/settings.json

* Fix imports

* Add test

* Formatting

* Fix test

---------

Co-authored-by: Tom Harris <tomharris@harrisnj.net>
Co-authored-by: Michael Hansen <mike@rhasspy.org>
2024-10-11 17:23:20 -05:00
Michael 07021dbd65
Use single_instance_allowed in hassio (#128060)
* use single_instance_allowed

* mark hassio as `single_config_entry`
2024-10-11 23:37:14 +02:00
Michael Hansen 8ee8421af7
Use device area/floor in HassGetState intent (#128197)
Use preferred area/floor in HassGetState intent
2024-10-11 16:08:43 -05:00
Marc Hörsken 6650d32055
Improve discovery of WMS WebControl pro by updating IP address (#128007) 2024-10-11 20:40:03 +02:00
G Johansson 2b2820018c
Remove legacy knx notify service (#128185) 2024-10-11 20:19:15 +02:00
Manu 8540343d7f
Add tests for Habitica integration (#126445)
* Add tests for sensor platform

* Add tests for switch platform

* Add tests for button platform

* Add tests for todo platform

* Add tests for todo platform

* Load json data fixtures

* Update snapshot

* Add fixtures

* test move todo

* parametrize todo tests, test drop notification

* test todo exceptions

* some minor improvements

* test setup retry

* Test update failed

* Test coordinator rate limit

* Test date utils

* Reduce scope of PR

* remove unused assert_mock_called_with  function

* update snapshot

* Update tests/components/habitica/test_init.py

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-10-11 20:03:23 +02:00
Michael Hansen 67e0ccf677
Use exposed error messages in Assist (#127503)
* Use exposed error messages

* Report expose errors

* Remove comment

* Relative import

* Rework expose check logic

* Delay creation of all names list, and skip config/hidden entities

* Clean up commented code and type issue

* Fix test

* Move assistant check
2024-10-11 13:06:03 -04:00
G Johansson a85d7af9e7
Remove deprecated notify service in ecobee (#128177) 2024-10-11 18:21:28 +02:00
G Johansson 39e63aee0c
Remove config entry import from lg_netcast (#128179) 2024-10-11 18:20:50 +02:00
J. Diego Rodríguez Royo 6a12a24d73
Migrate device models to entity descriptions and add localization & icons at Home Connect (#127870)
* Delete device models and use entity descriptions

* Home Connect localization & icons

* Update homeassistant/components/home_connect/strings.json

* Update homeassistant/components/home_connect/icons.json

* Fix tests

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-10-11 17:52:06 +02:00
epenet 63391717e7
Replace ValueError with deprecation in data update coordinator (#128082)
* Replace ValueError with deprecation in data update coordinator

* Rephrase
2024-10-11 17:24:47 +02:00
Steven B. 554629f37a
Fix ring realtime events (#128083) 2024-10-11 17:17:32 +02:00
Christopher Fenner 791c3cd955
Fix preset handling issue in ViCare (#128167)
* add test case

* fix test case

* fix issue

* change order
2024-10-11 17:15:16 +02:00
Thomas55555 6e53c93271
Fix model in Husqvarna Automower (#128168) 2024-10-11 17:05:13 +02:00
epenet 7097315079
Cleanup unnecessary reconfigure_confirm in fritz config flow (#128089) 2024-10-11 15:54:28 +02:00
Joost Lekkerkerker d50758197e
Add test for Spotify select source (#128160) 2024-10-11 14:33:34 +02:00
Erik Montnemery 9ff35d5a5a
Minor improvement of entity platform tests (#128158)
* Minor improvement of entity platform tests

* Fix snapshot
2024-10-11 14:14:29 +02:00
Joost Lekkerkerker 00f7bdbfaa
Add more Spotify tests for the media player (#127999)
* Add more Spotify tests for the media player

* Fix comments

* Rename test
2024-10-11 14:06:52 +02:00
Joost Lekkerkerker 71898d0c8c
Add snapshot testing to Spotify (#128032)
* Add snapshot testing to Spotify

* Fix
2024-10-11 13:58:04 +02:00
Teemu R. 1eea5b8a58
Increase tplink climate precision (#127996) 2024-10-11 13:15:30 +02:00
Álvaro Fernández Rojas 4c1b7add39
Update aioairzone to v0.9.4 (#127792) 2024-10-11 12:39:39 +02:00
Teemu R. 64693eaca2
Add reboot button for tplink (#127935)
* Add reboot button for tplink

* Add device_class, remove unnecessary translation and update fixtures

* update snapshot
2024-10-11 12:21:36 +02:00
kevdliu 50025971d8
Support open next and close next actions for shades (#125097)
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-10-10 15:09:52 -05:00
Erik Montnemery 74ba8877d4
Improve entity registry test coverage (#128073) 2024-10-10 21:16:39 +02:00
Jan-Philipp Benecke 9f7eb36a1f
Remove deprecated speed limit lock entity from tessie (#128043)
Remove deprecated speedlimit lock entity from tessie
2024-10-10 17:51:10 +02:00
Phill (pssc) 0fcbfa996f
Add squeezebox API failure test (#128066)
* add api failure test

* Update tests/components/squeezebox/test_init.py

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-10-10 17:38:14 +02:00
G Johansson 2ab5e5d267
Remove deprecated restart service in modbus (#128059) 2024-10-10 17:30:50 +02:00
Erik Montnemery 5b7bd6a52f
Minor improvement of device registry tests (#128095) 2024-10-10 17:28:57 +02:00
Marc Hörsken 5e38bb7a32
Add scene support to WMS WebControl pro (#126081)
* Add scene support to WMS WebControl pro

* Update homeassistant/components/wmspro/scene.py

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

* Create a device per room instead of scene

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-10-10 15:44:18 +02:00
AlCalzone f446e42317
Support non-dimmable color lights in Z-Wave JS (#127808)
* Z-Wave JS: support non-dimmable color lights

* remove black_is_off light, support on/off/color

* fix: tests for on/off light

* fix: typo

* remove commented out old test code

* add test for off and on

* support colored lights without separate brightness control

* add test for color-only light

* refactor: extract color only light

* fix: preserve color when changing brightness

* extend tests

* refactor again

* refactor scale check

* refactor: remove impossible check

* review feedback

* review feedback

* fix discovery to handle all 3 switch CCs, limit search to same endpoint

* Update homeassistant/components/zwave_js/discovery.py

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

* Update homeassistant/components/zwave_js/discovery.py

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

* add test for Smart Switch 7 state

* Add type annotations

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-10-10 14:36:37 +02:00
kingy444 67f67a02f8
Fix casing on Powerview Gen3 zeroconf discovery (#128076) 2024-10-10 07:22:14 -05:00
Mike Degatano a9aa5ad229
Use aiohasupervisor for store APIs (#126780)
* Use aiohasupervosor for store addon info

* Use aiohasupervisor install addon

* Use aiohasupervisor for store info API

* Fix onboarding test

* Changes from feedback

* Move get_supervisor_client out of constructor

* Mock supervisor_client in tests

* Make property private
2024-10-10 10:27:20 +02:00
epenet f504c27972
Add ability to pass the config entry explicitly in data update coordinators (#127980)
* Add ability to pass the config entry explicitely in data update coordinators

* Implement in accuweather

* Raise if config entry not set

* Move accuweather models

* Fix gogogate2

* Fix rainforest_raven
2024-10-10 10:20:15 +02:00
Ian Hattendorf 4efb747389
Add Jellyfin remote entity (#126461)
* jellyfin: Add remote entity

This allows sending general commands via the
"Sessions/{sessionId}/Command" endpoint

* jellyfin: Add remote entity tests
2024-10-10 09:30:05 +02:00
Michael 347440019e
Use snapshot platform test helper in IPP (#127734)
* use snapshot_platform

* we don't need to check for amount of entities anymore
2024-10-09 19:28:22 -05:00
epenet 39891ffe60
Drop reconfigure_confirm step in trafikverket_camera (#128031)
* Drop reconfigure_confirm step in trafikverket_camera

* Update strings.json
2024-10-09 22:14:34 +02:00
G Johansson 9bbbb2cd3c
End deprecation for config entry import for folder watcher (#128056) 2024-10-09 21:25:55 +02:00
Steven B. 23a1046a8f
Allow single use of device class translations in tplink snapshot tests (#128022) 2024-10-09 18:12:21 +02:00
epenet 7c6b517672
Use reconfigure helpers in fronius config flow (#128001)
* Use reconfigure helpers in fronius

* Drop _async_abort_entries_match
2024-10-09 17:52:30 +02:00
epenet f6188949f3
Use reconfigure helpers in enphase envoy config flow (#127977) 2024-10-09 17:33:34 +02:00
epenet 78f4b28697
Use reauth/reconfigure helpers in trafikverket_weatherstation config flow (#128028) 2024-10-09 16:14:56 +02:00
epenet 3d1e57766a
Simplify jewish_calendar reconfigure flow (#128008)
* Simplify jewish_calendar reconfigure flow

* Adjust
2024-10-09 15:34:11 +02:00
Joost Lekkerkerker c096cc23df
Add tests for the Spotify media browser (#127857)
* Add tests for the Spotify media browser

* Add tests for the Spotify media browser

* Fix

* Fix comment

* Revert "Add tests for the Spotify media browser"

This reverts commit 59de6725d2.

* Add comment

* Add comment
2024-10-09 13:39:03 +02:00
Joost Lekkerkerker c97be4d0d1
Add Spotify media player tests (#127839)
* Improve Spotify mock

* Add Spotify media player tests

* Remove extra changes

* Remove available markets

* Remove available markets

* Fix tests
2024-10-09 12:09:42 +02:00
Manu fa53ec40d6
Remove deprecated yaml import from Habitica (#127946) 2024-10-09 11:17:19 +02:00
Erik Montnemery c22bbc5b91
Improve IssueRegistryItemSnapshot (#127949) 2024-10-09 10:57:04 +02:00
G Johansson 6f45e376da
Don't error with missing information in systemmonitor diagnostics (#127868) 2024-10-09 10:44:54 +02:00
Marc Hörsken f5797e3799
Update pywmspro to 0.2.1 to fix handling of unknown products (#127942) 2024-10-09 10:31:44 +02:00
epenet 99eb466223
Add updates argument to update_reload_and_abort helper (#127781)
* Add updates argument to update_reload_and_abort helper

* Also apply to airvisual_pro

* Rename argument

* docstring

* Use modern syntax

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* Apply suggestion

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* Apply suggestion

* Docstring

---------

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2024-10-09 07:47:18 +02:00
Raman Gupta 2dec36f210
Fix zwave_js config validation for values (#127972) 2024-10-09 07:35:41 +02:00
G Johansson 666e8e133e
Cover state is enum (#127144)
* Change light state to use enum

* Adjust cover tests

* Update cover

* Fix covers

* Some tests

* More tests

* Fix tests

* Fix
2024-10-08 18:39:04 +02:00
G Johansson 959898e0fc
Fix merge_response template not mutate original object (#127865)
* Fix merge_response template not mutate original object

* Add comment
2024-10-08 18:35:06 +02:00
Ricardo Marques d41b9beb71
Fix custom account config flow setup (#127750) 2024-10-08 17:44:59 +02:00
Joost Lekkerkerker 00a037c786
Snapshot more platforms for Matter (#127541)
* Snapshot more platforms for Matter

* Fix

* Fix

* Fix

* Fix tests
2024-10-08 16:17:21 +02:00
epenet d8b51b4f2c
Avoid unknown error translation strings in anthropic (#127823) 2024-10-08 15:59:45 +02:00
epenet 5836a85340
Prevent `async_create_entry` from reauth/reconfigure flows (#127527)
* Prevent `async_create_entry` from reauth/reconfigure flows

* Adjust message

* Don't raise just yet

* Adjust message

* Fix string

* Remove invalid comment

* Add parameter

* Use count parameter

* Remove another branching
2024-10-08 15:19:58 +02:00
epenet 4e15556eeb
Cleanup unused variable in tests (#127930) 2024-10-08 15:14:23 +02:00
Erik Montnemery 0956dbb578
Rename `UnitOfConductivity` enum members (#127919)
* Rename UnitOfConductivity enum members

* Update test snapshots
2024-10-08 14:44:01 +02:00
Erik Montnemery 0c0ff855b1
Warn when async_update_entry creates a unique_id collision (#127929) 2024-10-08 14:42:41 +02:00
Andre Lengwenus 017ba509a6
Add device_class for LCN sensors (#127921)
* Add device_class for lcn sensor

* Rename device_class mapping dictionary
2024-10-08 14:24:48 +02:00
Joost Lekkerkerker 9d9b5af97f
Deprecate hassio service to update addon (#127927)
* Deprecate hassio service to update addon

* Update homeassistant/components/hassio/strings.json

Co-authored-by: Stefan Agner <stefan@agner.ch>

* service -> action

* service -> action; in the title as well

---------

Co-authored-by: Stefan Agner <stefan@agner.ch>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2024-10-08 14:23:29 +02:00
Erik Montnemery cee7017d20
Reinitialize hassio discovery flow on config entry removal (#127088)
* Reinitialize hassio discovery flow on config entry removal

* Address review comments
2024-10-08 14:07:05 +02:00
epenet 4478f64002
Remove dead reconfigure code (#127398)
* Remove dead reconfigure code

* Adjust

* Start cleaning up test

* Prevent duplicate flows

* Add missing string

* Adjust two more tests

* Only filter out reauth flows

* Update strings.json

* Update config_entries.py

* Adjust tests

* Remove all checks - but add comment in tests

* Simplify PR
2024-10-08 13:35:04 +02:00
Robert Resch b56e22d4ee
Use homeassistant STUN server (#127922) 2024-10-08 12:25:20 +02:00
epenet 2c664efb3c
Add new helper for matching reauth/reconfigure config flows (#127565) 2024-10-08 10:07:36 +02:00
Erik Montnemery c87415023c
Correct cleanup of sensor statistics repairs (#127826) 2024-10-08 09:39:21 +02:00
epenet 1eb8d0fa1c
Don't abort on unknown error in nina config flow (#127908) 2024-10-08 09:10:26 +02:00
epenet 20205d7ff4
Fix incorrect translation key in crownstone (#127913) 2024-10-08 08:51:53 +02:00
dontinelli 99a40ae49f
Reverse unintended change of unique_id for solarlog (#127845) 2024-10-08 08:46:49 +02:00
functionpointer 9a0cb59830
Clean up Tibber service tests (#127334)
* Tibber: cleanup tests

* Tibber: cleanup tests
2024-10-08 07:56:21 +02:00
Richard Kroegel 54c4fb5f56
BMW: Add reconfiguration flow (#127726)
* BMW: Add reconfiguration flow

* Implement requested changes

--------

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

* Abort if unique_id changes, small adjustments

---------

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2024-10-08 07:42:10 +02:00
JEMcats eac930ad7f
Add Tesla Fleet grid status (#126438)
* Make Changes.

* Change to match suggested changes.

* add Possible States to island status

* remove storm watch active sensor.

* Update the test_*.ambr files

* Update *.ambr files

* Add more infromation to Grid Status

* Remove storm mode strings and icons
2024-10-07 22:18:40 +02:00
Marc Mueller 3107785947
Update fritzconnection to 1.14.0 (#127793)
* Update fritzconnection to 1.14.0

* fix fritz image tests

---------

Co-authored-by: mib1185 <mail@mib85.de>
2024-10-07 20:00:24 +02:00
Joost Lekkerkerker fe130b62c8
Replace Spotify fixtures (#127850)
Replace fixtures with real life ones
2024-10-07 18:00:54 +02:00
Joost Lekkerkerker f0363ac221
Improve Spotify mock (#127825)
* Improve Spotify mock

* Fix comments

* Fix comments

* Fix comments

* Fix comments

* Fix comments

* Fix comments

* Fix comments

* Fix comments
2024-10-07 17:36:39 +02:00
epenet 599076d6f4
Add missing patch in dnsip test (#127802) 2024-10-07 14:24:51 +02:00
epenet d99429463b
Use reauth helpers in permobil config flow (#127530) 2024-10-07 11:37:28 +02:00
epenet 8c0e96e6e6
Extend update_entry_and_reload tests (#127776) 2024-10-07 11:23:48 +02:00
Brett Adams ae6add1e77
Fix Island status in Teslemetry (#127504) 2024-10-07 10:15:25 +02:00
Arie Catsman 927943e07a
Add option to disable keep-alive for Enphase Envoy connections (#127603) 2024-10-07 10:13:23 +02:00
epenet c87a2ca335
Add default reconfigure reason in update_reload_and_abort (#127756)
* Add default reconfigure reason in async_update_reload_and_abort

* Simplify

* Fix test

* Add sample usage

* Remove multi-line ternary
2024-10-07 09:02:58 +02:00
Erik Montnemery 7ec911c4df
Correct typing in rediscovery tests (#127777) 2024-10-07 08:42:04 +02:00
René Klomp 605aaf955c
Migrate SMA unique id to str (#127732) 2024-10-07 08:19:55 +02:00
Brandon Rothweiler b4dfd08bc4
Update A. O. Smith integration to reflect upstream API changes (#127678) 2024-10-06 17:16:29 +02:00
Thomas55555 3cda93d001
Add work area sensors to Husqvarna Automower (#126931)
* Add work area sensors to Husqvarna Automower

* add exists function

* fix tests

* add icons

* docstring

* Update homeassistant/components/husqvarna_automower/sensor.py

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

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-10-06 16:10:26 +02:00
epenet e705ca83b2
Use reconfigure helpers in config tests (#127534)
Use async_update_reload_and_abort in config test
2024-10-06 16:06:55 +02:00
Joost Lekkerkerker f90ed9e9db
Remove expected lingering test fixture from Matter (#127713) 2024-10-06 16:00:40 +02:00
Michael 808d93d767
Remove obsolete entity count safeguards when using `snapshot_platform` test helper (#127736)
remove obsolete safeguards
2024-10-06 15:50:16 +02:00
J. Diego Rodríguez Royo 0d795aad16
Use BSH keys as unique ID's suffix at Home Connect (#126143)
* Use BSH keys as as unique id suffix instead of the simple description

* Update tests/components/home_connect/test_init.py

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-10-06 12:40:13 +02:00
David Knowles f6850c36fc
Fix problems with automatic management of Schlage locks (#127689)
Use the correct identifiers for existing lock devices
2024-10-06 07:42:39 +02:00
David Bonnes b69f2856bf
Add tests for evohome water_heater entities (#127611)
* initial commit

* move get_entity* helper to test

* parameterize with TEST_INSTALLS_WITH_DHW

* remove if from tests
2024-10-05 22:34:06 +01:00
David Bonnes 76a59338eb
Add tests for evohome climate entities (#127612)
* initial commit

* rename symbol (zon -> zone)

* move get_entity* helper function to test

* update snapshot
2024-10-05 22:32:12 +01:00
J. Nick Koston 0326e58c8a
Remove automatic linkage of doorbells to HomeKit accessories via device class occupancy (#127668) 2024-10-05 14:24:58 -05:00
Michael c043142b86
Improve handling of call deflection switches in AVM Fritz!Tools (#127592)
improve handling of call_deflection switches
2024-10-05 19:16:34 +02:00
Thomas55555 204bea8947
Return an error if no error key is provided in Husqvarna Automower (#127584)
return error
2024-10-05 19:13:21 +02:00
Jan Bouwhuis e54031e318
Improve mqtt sensor options validion logging (#127631)
* Improve mqtt sensor options validion logging

* Fix test
2024-10-05 13:31:42 +02:00
J. Nick Koston 24fbc366a6
Restore __slots__ to registry entries (#127481) 2024-10-05 12:16:52 +02:00
Erik Montnemery c104e66964
Fix snooz tests (#127468) 2024-10-05 12:13:52 +02:00
epenet c4fb4eb61b
Use common reconfigure string in bryant_evolution (#127561) 2024-10-05 12:12:14 +02:00
Richard Cox 62ae2a3bd5
Update Radarr config flow to standardize ports (#127620) 2024-10-05 12:05:11 +02:00
Brett Adams 213cc14494
Fix wake up in Tesla Fleet (#127615) 2024-10-05 12:04:10 +02:00
Sid b942569ce0
Remove enigma2 yaml import (#127597) 2024-10-05 10:00:23 +02:00
TimL 6ee03460d6
Disable by default smlight auto zigbee update switch (#126707)
disable by default auto zigbee update switch

Co-authored-by: Shay Levy <levyshay1@gmail.com>
2024-10-05 00:56:11 +03:00
Tudor Sandu d9b077154e
Blueprints for template entities (#126971)
* Template domain blueprints

* Default blueprint for templates

* Some linting

* Template entity updates

* Load and use blueprints in config

* Added missing mapping methods for templates

* Linting

* Added tests

* Wrong schema type

* Hassfest errors

* More linting issues

* Refactor based on desired schema

In the [architecture discussion](https://github.com/home-assistant/architecture/discussions/1027), the template blueprint instance did not specify the platform (e.g. `binary_sensor`), but the initial implementation assumed that schema.

* Create default template blueprints on first run

* Moved TemplateConfig definition

This is to avoid circular references

* Corrected methods to find templates based on blueprints

* Corrected missing entity config information

* Added tests

* Don't use hass.data

Address comments https://github.com/home-assistant/core/pull/126971/#discussion_r1780097187

* Prevent creating blueprints during testing

* Combine 2 ifs

Address comment https://github.com/home-assistant/core/pull/126971/#discussion_r1780160870

* Improve test coverage

* Prevent template component from dirtying test env

* Remove useless hard-coded validation

* Improve code coverage to 100%

* Address review comments

* Moved helpers in helpers.py

As per comment https://github.com/home-assistant/core/pull/126971#discussion_r1786539889

* Fix blueprint source URL

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-10-04 16:47:29 +02:00
epenet 8bbbaae290
Use HassKey in backup (#127546)
* Use HassKey in backup

* Use DATA_MANAGER
2024-10-04 16:01:50 +02:00
Joost Lekkerkerker ebfa2fb1d0
Strip the NYT Games token (#127548) 2024-10-04 12:53:35 +02:00
epenet 8b9b65d3f1
Use reauth helpers in spotify config flow (#127532)
Use async_update_reload_and_abort in spotify
2024-10-04 11:13:03 +02:00
Joost Lekkerkerker 07704b8511
Add more fixtures to the matter fixture (#126761)
* Add more fixtures to the matter fixture

* Add Valve
2024-10-04 09:24:06 +02:00
epenet 6a44d66fed
Fix reolink tests (#127525) 2024-10-04 09:16:49 +02:00
Maciej Bieniek 1290f18ed4
Add support for Shelly CCT light (#126989)
* Initial support for cct lights

* Move properties to the RpcShellyCctLight class

* Fix entity names

* Add async_remove_orphaned_entities() function

* Do not return

* Fix tests

* Combine async_remove_orphaned_virtual_entities and async_remove_orphaned_entities

* Remove SHELLY_PLUS_RGBW_CHANNELS from const

* Add tests

* Use _attr*

* Check ColorMode.COLOR_TEMP

* Add sensors for CCT light

* Remove removal condition

* Remove orphaned sensors

* Cleaning

* Add device temperature sensor for CCT light

* Simplify async_remove_orphaned_entities()

* Comment

* Add COMPONENT_ID_PATTERN const

* Call async_add_entities once

* Suggested change

* Better type for keys

* Do not call keys()
2024-10-04 08:49:35 +02:00
David Bonnes 49e634a62f
Convert evohome's test factory into an async generator (#126925) 2024-10-04 08:29:36 +02:00
Erik Montnemery 8754b54d81
Fix config entry unique_id collision in tplink tests (#127522) 2024-10-04 08:24:56 +02:00
epenet c191a7cfdb
Fix lingering tasks in snooz tests (#127523) 2024-10-04 08:24:01 +02:00
J. Nick Koston 6eb49991a4
Add pylint rule for cached_property (#127482) 2024-10-03 17:53:55 -05:00
Michael 1dd59375f6
Add re-authemtication flow to AVM FRITZ!Box Call Monitor (#127497) 2024-10-03 22:36:41 +02:00
Erik Montnemery 48a07d531c
Remove assumption in ConfigEntryItems about unique unique_id (#127399) 2024-10-03 22:27:15 +02:00
J. Nick Koston db494de809
Restore __slots__ to core objects (#127441) 2024-10-03 22:23:47 +02:00
Joost Lekkerkerker 48a6dabc5b
Remove Spider integration (#127346) 2024-10-03 21:44:30 +02:00
Erik Montnemery 0ae0047246
Fix config entry unique_id collision in lamarzocco tests (#127484) 2024-10-03 21:39:39 +02:00
J. Nick Koston 0f29fd3e10
Switch to using fast cached_property implementation in propcache (#127339) 2024-10-03 13:11:02 -05:00
J. Nick Koston e2b1ef053f
Cache serialization of config entry storage (#127435) 2024-10-03 19:51:09 +02:00
Erik Montnemery a2c85a0ac2
Remove test workaround from snooz (#127465) 2024-10-03 18:18:08 +02:00
epenet f837369ef0
Use reauth helpers in electric_kiwi config flow (#127414)
* Mark electric_kiwi as single_config_entry

* Adjust

* Use reauth helpers in electric_kiwi config flow
2024-10-03 18:02:55 +02:00
J. Nick Koston 41fcf58b80
Fix bluetooth tests to not create the same config entry twice (#127461) 2024-10-03 10:37:34 -05:00
Allen Porter c38f23400c
Don't add the same config entry id twice in google tests (#127457)
Don't add the same config entry id twice in the test
2024-10-03 17:23:58 +02:00
Erik Montnemery 62b449e52c
Fix config entry unique_id collision in proximity (#127456) 2024-10-03 17:22:40 +02:00
starkillerOG 85ae66d276
Reolink auto add new cameras/chimes (#126268) 2024-10-03 16:51:27 +02:00
epenet 045d96cdd1
Use async_update_reload_and_abort in aseko_pool_live config flow (#127433)
* Use async_update_reload_and_abort in aseko_pool_live config flow

* block_till_done
2024-10-03 14:39:17 +02:00
Stefan Agner abf3da2fa1
Set default Matter fabric label (#127252) 2024-10-03 12:36:24 +02:00
epenet 7d3d693fe8
Align config flow reconfigure step test helper with frontend (#127329)
* Align config flow reconfigure step with frontend

* Update common.py

* Update common.py

* Adjust

* Adjust

* Fix test

* Adjust
2024-10-03 10:21:23 +02:00
Robert Resch 04860ae1d2
Add go2rtc and extend camera integration for better WebRTC support (#124410) 2024-10-03 09:20:03 +02:00
Erik Montnemery a0a90f03a8
Improve generic camera preview tests (#127382) 2024-10-03 09:13:54 +02:00
G Johansson 0fde5c21b7
Add reconfigure flow to trafikverket_camera (#127355) 2024-10-03 01:25:47 +02:00
polgarc c4cc9f8489
Add line numbers to swiss-public-transport (#127332)
* add line numbers

* keep only one line sensor

* fix unt tests
2024-10-03 01:25:17 +02:00
Stefan Agner 88ad7e98e0
Store instance name in Thread router discovery (#127253)
* Store instance name in Thread router discovery

Store the DNS-SD instance name in the Thread router discovery message.
The instance name is the actual name given to a Thread border router,
e.g. when configuring the name of a Thread border router in Apple Home
the name appears as the DNS-SD instance name. This will allow to make
the Thread border router list more user friendly.

* Use instance_name_from_service_info to get instance name
2024-10-02 21:41:55 +02:00
G Johansson a3b1a30d06
Add reconfigure step to trafikverket weather (#127140)
* Add reconfigure step to trafikverket weather

* Use helper

* Fix

* Fix review comments
2024-10-02 21:04:00 +02:00
Steven Looman f8b192bd94
Handle the correct exception type when subscribing to the router service returns an error in the upnp component (#127006)
* Catch the right exception when handling subscription errors

* Assert device is forced to poll
2024-10-02 20:55:25 +02:00
Erik Montnemery 4c6ab3921a
Store modern_forms flow data in flow handler attributes (#127175) 2024-10-02 19:59:44 +02:00
Erik Montnemery 1dc1fd421b
Use ConfigFlow.has_matching_flow to deduplicate tplink flows (#127164) 2024-10-02 19:59:24 +02:00
Paul Bottein c306ebed49
Fix device id support for alarm control panel template (#127340) 2024-10-02 19:04:36 +02:00