From fb690dbf171c5822eeb06df5b041fdbe768c3584 Mon Sep 17 00:00:00 2001 From: Marcelo Moreira de Mello Date: Mon, 21 May 2018 12:20:59 -0400 Subject: [PATCH] Removed attribute current_time from Raincloudy sensors to avoid being triggered by recorder component --- homeassistant/components/raincloud.py | 1 - homeassistant/components/switch/raincloud.py | 1 - 2 files changed, 2 deletions(-) diff --git a/homeassistant/components/raincloud.py b/homeassistant/components/raincloud.py index 505c3a7b2b00b..308a945e942e2 100644 --- a/homeassistant/components/raincloud.py +++ b/homeassistant/components/raincloud.py @@ -168,7 +168,6 @@ def device_state_attributes(self): """Return the state attributes.""" return { ATTR_ATTRIBUTION: CONF_ATTRIBUTION, - 'current_time': self.data.current_time, 'identifier': self.data.serial, } diff --git a/homeassistant/components/switch/raincloud.py b/homeassistant/components/switch/raincloud.py index 8a5c4347cf7c0..a4bac8fee1cd4 100644 --- a/homeassistant/components/switch/raincloud.py +++ b/homeassistant/components/switch/raincloud.py @@ -88,7 +88,6 @@ def device_state_attributes(self): """Return the state attributes.""" return { ATTR_ATTRIBUTION: CONF_ATTRIBUTION, - 'current_time': self.data.current_time, 'default_manual_timer': self._default_watering_timer, 'identifier': self.data.serial }