1
0
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:
Abílio Costa
2025-10-14 15:32:31 +01:00
committed by GitHub
parent 6aff1287dd
commit b494074ee0

View File

@@ -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(