mirror of
https://github.com/home-assistant/core.git
synced 2025-07-09 22:37:11 +00:00
Remove wink sensor log calls (#20798)
* Removed log calls * pass during exception
This commit is contained in:
parent
850556d6c3
commit
ff84c01d41
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user