mirror of
https://github.com/home-assistant/core.git
synced 2025-07-09 14:27:07 +00:00
Enable warnings for UsbServiceInfo (#60757)
Co-authored-by: epenet <epenet@users.noreply.github.com>
This commit is contained in:
parent
2fe0382841
commit
35c40bcf85
@ -58,7 +58,6 @@ class UsbServiceInfo(BaseServiceInfo):
|
||||
f"accessed discovery_info['{name}'] instead of discovery_info.{name}; this will fail in version 2022.6",
|
||||
exclude_integrations={"usb"},
|
||||
error_if_core=False,
|
||||
level=logging.DEBUG,
|
||||
)
|
||||
self._warning_logged = True
|
||||
return getattr(self, name)
|
||||
|
Loading…
x
Reference in New Issue
Block a user