mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 03:07:37 +00:00
Removed attribute current_time from Raincloudy sensors to avoid being triggered by recorder component (#14584)
This commit is contained in:
parent
118c49ecaa
commit
2753dd0c5e
@ -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):
|
|||||||
"""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
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user