mirror of
https://github.com/home-assistant/core.git
synced 2026-05-02 22:52:06 +01:00
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
This commit is contained in:
@@ -1550,6 +1550,7 @@ async def test_entity_info_added_to_entity_registry(
|
||||
original_icon="nice:icon",
|
||||
original_name="best name",
|
||||
options=None,
|
||||
suggested_object_id=None,
|
||||
supported_features=5,
|
||||
translation_key="my_translation_key",
|
||||
unit_of_measurement=PERCENTAGE,
|
||||
|
||||
Reference in New Issue
Block a user