mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 05:07:41 +00:00
lint ws
This commit is contained in:
parent
778761ebce
commit
a628112e4c
@ -68,7 +68,7 @@ class RainBirdSwitch(SwitchDevice):
|
|||||||
self._rainbird = rb
|
self._rainbird = rb
|
||||||
self._devid = dev_id
|
self._devid = dev_id
|
||||||
self._zone = int(dev.get(CONF_ZONE))
|
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))
|
"Sprinker {}".format(self._zone))
|
||||||
self._state = None
|
self._state = None
|
||||||
self._duration = dev.get(CONF_TRIGGER_TIME)
|
self._duration = dev.get(CONF_TRIGGER_TIME)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user