Skip to content
Snippets Groups Projects
Commit 2753dd0c authored by Marcelo Moreira de Mello's avatar Marcelo Moreira de Mello Committed by Sebastian Muszynski
Browse files

Removed attribute current_time from Raincloudy sensors to avoid being...

Removed attribute current_time from Raincloudy sensors to avoid being triggered by recorder component (#14584)
parent 118c49ec
Branches
Tags
No related merge requests found
...@@ -168,7 +168,6 @@ class RainCloudEntity(Entity): ...@@ -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,
} }
......
...@@ -88,7 +88,6 @@ class RainCloudSwitch(RainCloudEntity, SwitchDevice): ...@@ -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
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment