Commit Graph
382 Commits
Author SHA1 Message Date
Stefan AgnerandClaude Fable 5.1 1d13e1604a Prevent removing the owner user (#182398)
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-16 17:21:08 +02:00
Franck Nijhof 743b1489e1 Use probatio directly in tests, scripts and pylint plugins (#182113) 2026-09-13 17:24:06 +02:00
Erik Montnemery 120323f347 Avoid accessing DeviceEntry.config_entries in tests (#181945) 2026-09-11 22:50:20 +02:00
Josef Zweck 1437491e0a Centrally handle reconfigure successful for subentries (#181225) 2026-09-09 21:39:55 +02:00
Josef ZweckandMarkus Tuominen c4bb96f579 Handle reconfigure_successful centrally (#180723)
Co-authored-by: Markus Tuominen <3738613+Markus98@users.noreply.github.com>
2026-09-07 15:52:19 +03:00
310bd9a30d Strip unknown label ids in entity/device/area registry websocket APIs (#173438)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: frenck <195327+frenck@users.noreply.github.com>
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2026-08-26 15:07:49 +02:00
Josef Zweck d45a8d6214 Persist the translation domain for config entry setup errors (#180192) 2026-08-26 10:33:59 +02:00
Franck Nijhof cbde7ecf46 Use Probatio as the data validation engine (#175128) 2026-08-24 14:57:54 +02:00
Erik Montnemery 32a4846428 Improve error handling in websocket_update_device (#179709) 2026-08-21 16:11:24 +02:00
Erik Montnemery f1e44ab125 Add parameter include_composite_devices to DeviceRegistry.async_get (#179594) 2026-08-20 13:06:53 +02:00
Erik Montnemery d82f2e2066 Update home-assistant-parameter-type for async_remove_config_entry_device (#179371) 2026-08-18 09:35:39 +02:00
Dmitry 57f2e39028 Shield config entry removal from client disconnect (#178207) 2026-08-13 17:40:45 +02:00
Erik MontnemeryandArtur Pragacz ad96b06be6 Add child devices (#178666)
Co-authored-by: Artur Pragacz <artur@pragacz.com>
2026-08-13 13:53:15 +02:00
Erik Montnemery 62b347de97 Add WS command config/device_registry/remove (#178319) 2026-08-11 11:20:48 +02:00
Erik Montnemery 0f75e73081 Migrate tests to specifying via device with via_device_id (#178546) 2026-08-08 18:58:24 +02:00
Erik Montnemery 6ea81b6ee4 Adapt WS config/device_registry/remove_config_entry to device registry changes (#178513) 2026-08-08 16:58:47 +02:00
Erik Montnemery dfceead604 Migrate calls to async_get_device in config tests (#178366) 2026-08-07 20:30:32 +02:00
Erik Montnemery 8d9d053e64 Add WS command config/device_registry/list_linked_devices (#177449) 2026-07-29 09:37:04 +02:00
Artur Pragacz 110106bf2c Add setting to customise entity ID generation (#177140) 2026-07-28 22:45:02 +02:00
Erik Montnemery a87dccab33 Disable pylint registry fixture rule in config WS test (#177454) 2026-07-28 13:01:13 +01:00
Erik Montnemery 82ca35fd45 Add WS command config/device_registry/list_composite_splits (#176693) 2026-07-28 13:18:16 +02:00
Erik Montnemery 1d885bd073 Restrict device registry entries to a single config entry and subentry (#175785) 2026-07-16 22:10:10 +02:00
Tom Carpenter 0a612932ea Fix core config schema "elevation" validation (#175692) 2026-07-08 22:49:32 +02:00
epenet d4accebb3b Use DOMAIN constant in test (async_setup_component a-g) (#173013) 2026-06-08 15:58:54 +02:00
Ariel Ebersberger c621721851 Remove advanced options from config/test_config_entires (#172423) 2026-05-28 13:37:31 +02:00
Bram Kragten 0c816c22e0 Remove show_advanced_options from data entry flow API (#172249) 2026-05-27 11:13:24 +02:00
J. Nick Koston 7655cb0fc6 Fix blocking time_zone validation in config/core/update websocket command (#172227) 2026-05-26 08:28:34 +02:00
Ariel Ebersberger 5432d29489 Use is/is not for same-enum identity comparisons (tests) (#171689) 2026-05-22 11:32:27 +02:00
Franck Nijhofandcopilot-swe-agent[bot] 2af7f43ed7 Fix line length violations in tests/components c (#170845)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
2026-05-17 13:10:54 +02:00
Paulus SchoutsenandClaude 6893d2b13d Migrate remaining top-level async_register_command handlers to decorators (#169227)
Co-authored-by: Claude <noreply@anthropic.com>
2026-04-27 17:29:24 +02:00
Artur Pragacz 151eae4d5a Add compatibility layer for entities without has_entity_name to entity registry (#166246) 2026-03-24 20:22:15 +01:00
Artur Pragacz bafef2065f Rework user-given entity name logic (#162763) 2026-03-17 11:09:20 +01:00
Erik Montnemery deefcbcbe4 Remove stub_blueprint_populate test fixture (#161288) 2026-01-20 15:46:06 +01:00
Artur Pragacz 0130919128 Improve entity id generation (#160302) 2026-01-14 14:34:52 +01:00
epenet dbfdaf6a2e Use is over == comparison for FlowResultType in flow tests (#159158) 2025-12-16 09:48:45 +01:00
9863d3484d Prevent empty aliases in registries (#156061)
Co-authored-by: J. Diego Rodríguez Royo <jdrr1998@hotmail.com>
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2025-12-15 22:28:53 +01:00
Paul BotteinandCopilot df8ef15535 Add reorder floors and areas websocket command (#156802)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-19 09:58:07 -05:00
puddly 531397ec07 Avoid firing discovery events when flows immediately create a config entry (#155753) 2025-11-14 09:40:46 +01:00
Erik Montnemery 7a41cbc314 Skip unserializable flows in WS config_entries/flow/subscribe (#153259) 2025-09-30 15:12:19 +02:00
hanwgandArtur Pragacz b203a04f1b Add websocket command to rename config subentry (#150843)
Co-authored-by: Artur Pragacz <49985303+arturpragacz@users.noreply.github.com>
2025-08-25 22:55:01 +02:00
Matthias Alphart 63640af4d4 Update voluptuous-serialize to 2.7.0 (#150822) 2025-08-19 16:42:49 +02:00
Erik Montnemery a857461059 Handle late abort when creating subentry (#145765)
* Handle late abort when creating subentry

* Move error handling to the base class

* Narrow down expected error in test
2025-05-28 12:26:28 +02:00
Erik Montnemery 4e1d5fbeb0 Add WS command to help reset custom entity_id (#145504)
* Add WS command to help reset custom entity_id

* Calculate suggested object id from entity properties

* Fix logic and add additional tests

* Adjust test

* Update folder_watcher test

* Handle current entity id matches the automatic entity id

* Don't store calculated_object_id

* Update snapshots

* Update snapshots

* Update test

* Tweak logic for reusing current entity_id

* Improve test

* Don't assign same entity_id to several entities

* Prioritize custom entity name

* Update snapshots

* Update snapshots
2025-05-26 19:28:27 +02:00
Erik Montnemery dc8e1773f1 Remove unused defaults from entity_registry.RegistryEntry (#143655) 2025-04-25 12:41:58 +02:00
Erik Montnemery eee6e8a2c3 Add WS command config_entries/flow/subscribe (#142459) 2025-04-10 16:58:46 +02:00
Erik Montnemery 2ed70ef241 Use mock_config_flow test helper in config tests (#142461) 2025-04-07 12:27:15 +02:00
Pieter Viljoen d65392a374 ConfigSubEntryFlow _get_reconfigure_entry() -> _get_entry() (#141017)
* ConfigSubEntryFlow _get_reconfigure_entry() -> _get_entry()

* Update MQTT test

* Fix test_config_entries

* Minimize changes to keep existing tests working

* Re-revert and update negative test instead
2025-03-24 09:24:43 +01:00
Erik Montnemery 51c09c2aa4 Add test fixture ignore_translations_for_mock_domains (#139235)
* Add test fixture ignore_translations_for_mock_domains

* Fix fixture

* Avoid unnecessary attempt to get integration

* Really fix fixture

* Add forgotten parameter

* Address review comment
2025-02-25 20:10:29 +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
Erik Montnemery fe3d6f93d7 Fix data_entry_flow.UnknownStep error message (#138288) 2025-02-11 18:56:18 +01:00