mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +00:00
Fix callback and async (#31281)
* Fix callback and async * Fix a return * Fix test * Fix mqtt tests * Fix some more callbacks
This commit is contained in:
@@ -260,6 +260,7 @@ class DeviceRegistry:
|
||||
|
||||
return new
|
||||
|
||||
@callback
|
||||
def async_remove_device(self, device_id: str) -> None:
|
||||
"""Remove a device from the device registry."""
|
||||
del self.devices[device_id]
|
||||
|
||||
Reference in New Issue
Block a user