Default parameter for .run()
This commit is contained in:
1 parent
d5f9c1bc01
commit
d1ed17e7db
1 file changed
+2
-2
@@ -121,11 +121,11 @@ class SwitchTemplate(SwitchDevice):
|
||||
|
||||
def turn_on(self, **kwargs):
|
||||
"""Fire the on action."""
|
||||
self._on_script.run(True)
|
||||
self._on_script.run()
|
||||
|
||||
def turn_off(self, **kwargs):
|
||||
"""Fire the off action."""
|
||||
self._off_script.run(True)
|
||||
self._off_script.run()
|
||||
|
||||
def update(self):
|
||||
"""Update the state from the template."""
|
||||
|
||||
Reference in new issue
Block a user