Enable warnings for SsdpServiceInfo (#60756)
Co-authored-by: epenet <epenet@users.noreply.github.com>
This commit is contained in:
parent
5c4422dc72
commit
6a926b41f2
1 changed files with 0 additions and 3 deletions
|
@ -117,7 +117,6 @@ class SsdpServiceInfo(
|
|||
f"accessed discovery_info['{name}'] instead of discovery_info.{name}; this will fail in version 2022.6",
|
||||
exclude_integrations={DOMAIN},
|
||||
error_if_core=False,
|
||||
level=logging.DEBUG,
|
||||
)
|
||||
self._warning_logged = True
|
||||
# Use a property if it is available, fallback to upnp data
|
||||
|
@ -138,7 +137,6 @@ class SsdpServiceInfo(
|
|||
f"accessed discovery_info.get('{name}') instead of discovery_info.{name}; this will fail in version 2022.6",
|
||||
exclude_integrations={DOMAIN},
|
||||
error_if_core=False,
|
||||
level=logging.DEBUG,
|
||||
)
|
||||
self._warning_logged = True
|
||||
if hasattr(self, name):
|
||||
|
@ -157,7 +155,6 @@ class SsdpServiceInfo(
|
|||
"or discovery_info.ssdp_headers.__contains__(); this will fail in version 2022.6",
|
||||
exclude_integrations={DOMAIN},
|
||||
error_if_core=False,
|
||||
level=logging.DEBUG,
|
||||
)
|
||||
self._warning_logged = True
|
||||
if hasattr(self, name):
|
||||
|
|
Loading…
Add table
Reference in a new issue