diff --git a/homeassistant/components/switch/template.py b/homeassistant/components/switch/template.py index ada27c21d0e..46900e8cc00 100644 --- a/homeassistant/components/switch/template.py +++ b/homeassistant/components/switch/template.py @@ -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."""