From 778761ebce72de47aac17803af79ebb7860bed9d Mon Sep 17 00:00:00 2001 From: "J.J.Barrancos" Date: Wed, 18 Oct 2017 10:40:38 +0200 Subject: [PATCH] lint error --- homeassistant/components/switch/rainbird.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/homeassistant/components/switch/rainbird.py b/homeassistant/components/switch/rainbird.py index 3f3a8cf6d5c..ac0b07a78f8 100644 --- a/homeassistant/components/switch/rainbird.py +++ b/homeassistant/components/switch/rainbird.py @@ -68,7 +68,8 @@ class RainBirdSwitch(SwitchDevice): self._rainbird = rb self._devid = dev_id self._zone = int(dev.get(CONF_ZONE)) - self._name = dev.get(CONF_FRIENDLY_NAME, "Sprinker {}".format(self._zone)) + self._name = dev.get(CONF_FRIENDLY_NAME, + "Sprinker {}".format(self._zone)) self._state = None self._duration = dev.get(CONF_TRIGGER_TIME) self._attributes = {