From ff84c01d416ffca8d2eb21b9761e55e9c215388e Mon Sep 17 00:00:00 2001 From: William Scanlon Date: Thu, 7 Feb 2019 00:22:44 -0500 Subject: [PATCH] Remove wink sensor log calls (#20798) * Removed log calls * pass during exception --- homeassistant/components/wink/sensor.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/homeassistant/components/wink/sensor.py b/homeassistant/components/wink/sensor.py index 62f4638820f..3e228c4b40b 100644 --- a/homeassistant/components/wink/sensor.py +++ b/homeassistant/components/wink/sensor.py @@ -91,10 +91,9 @@ class WinkSensorDevice(WinkDevice): def device_state_attributes(self): """Return the state attributes.""" super_attrs = super().device_state_attributes - _LOGGER.debug("Adding in eggs if egg minder") try: super_attrs['egg_times'] = self.wink.eggs() - _LOGGER.debug("Its an egg minder") except AttributeError: - _LOGGER.debug("Not an eggtray") + # Ignore error, this sensor isn't an eggminder + pass return super_attrs