From 38153b015f77355fd02a5be0b708128d150c0fcc Mon Sep 17 00:00:00 2001 From: epenet <6771947+epenet@users.noreply.github.com> Date: Wed, 1 Dec 2021 16:56:54 +0100 Subject: [PATCH] Enable warnings for DhcpServiceInfo (#60750) Co-authored-by: epenet --- homeassistant/components/dhcp/__init__.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/homeassistant/components/dhcp/__init__.py b/homeassistant/components/dhcp/__init__.py index 47a202aa2dd..7da74fb66b0 100644 --- a/homeassistant/components/dhcp/__init__.py +++ b/homeassistant/components/dhcp/__init__.py @@ -82,7 +82,6 @@ class DhcpServiceInfo(BaseServiceInfo): 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 return getattr(self, name) @@ -98,7 +97,6 @@ class DhcpServiceInfo(BaseServiceInfo): 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):