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