Removed attribute current_time from Raincloudy sensors to avoid being triggered by recorder component (#14584)

This commit is contained in:
Marcelo Moreira de Mello 2018-05-22 02:19:45 -04:00 committed by Sebastian Muszynski
parent 118c49ecaa
commit 2753dd0c5e
2 changed files with 0 additions and 2 deletions

View file

@ -168,7 +168,6 @@ class RainCloudEntity(Entity):
"""Return the state attributes.""" """Return the state attributes."""
return { return {
ATTR_ATTRIBUTION: CONF_ATTRIBUTION, ATTR_ATTRIBUTION: CONF_ATTRIBUTION,
'current_time': self.data.current_time,
'identifier': self.data.serial, 'identifier': self.data.serial,
} }

View file

@ -88,7 +88,6 @@ class RainCloudSwitch(RainCloudEntity, SwitchDevice):
"""Return the state attributes.""" """Return the state attributes."""
return { return {
ATTR_ATTRIBUTION: CONF_ATTRIBUTION, ATTR_ATTRIBUTION: CONF_ATTRIBUTION,
'current_time': self.data.current_time,
'default_manual_timer': self._default_watering_timer, 'default_manual_timer': self._default_watering_timer,
'identifier': self.data.serial 'identifier': self.data.serial
} }