mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 21:06:19 +00:00
Fix device registry arg docstring (#154453)
This commit is contained in:
@@ -1045,7 +1045,7 @@ class DeviceRegistry(BaseRegistry[dict[str, list[dict[str, Any]]]]):
|
||||
"""Private update device attributes.
|
||||
|
||||
:param add_config_subentry_id: Add the device to a specific subentry of add_config_entry_id
|
||||
:param remove_config_subentry_id: Remove the device from a specific subentry of remove_config_subentry_id
|
||||
:param remove_config_subentry_id: Remove the device from a specific subentry of remove_config_entry_id
|
||||
"""
|
||||
old = self.devices[device_id]
|
||||
|
||||
@@ -1346,7 +1346,7 @@ class DeviceRegistry(BaseRegistry[dict[str, list[dict[str, Any]]]]):
|
||||
"""Update device attributes.
|
||||
|
||||
:param add_config_subentry_id: Add the device to a specific subentry of add_config_entry_id
|
||||
:param remove_config_subentry_id: Remove the device from a specific subentry of remove_config_subentry_id
|
||||
:param remove_config_subentry_id: Remove the device from a specific subentry of remove_config_entry_id
|
||||
"""
|
||||
if suggested_area is not UNDEFINED:
|
||||
report_usage(
|
||||
|
||||
Reference in New Issue
Block a user