From 2753dd0c5e341fc2a3753430dc03a99ebd237ee5 Mon Sep 17 00:00:00 2001
From: Marcelo Moreira de Mello <tchello.mello@gmail.com>
Date: Tue, 22 May 2018 02:19:45 -0400
Subject: [PATCH] Removed attribute current_time from Raincloudy sensors to
 avoid being triggered by recorder component (#14584)

---
 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 505c3a7b2b0..308a945e942 100644
--- a/homeassistant/components/raincloud.py
+++ b/homeassistant/components/raincloud.py
@@ -168,7 +168,6 @@ class RainCloudEntity(Entity):
         """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 8a5c4347cf7..a4bac8fee1c 100644
--- a/homeassistant/components/switch/raincloud.py
+++ b/homeassistant/components/switch/raincloud.py
@@ -88,7 +88,6 @@ class RainCloudSwitch(RainCloudEntity, SwitchDevice):
         """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
         }
-- 
GitLab