Fix scene typo
This commit is contained in:
parent
476552bbf5
commit
9311245ef0
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ class ScenePlugin(PluginBase):
|
|||
self.blueprint.add_url_rule('/<name>/<cmd>', 'api-sceneset', self.ui_setscene)
|
||||
self.blueprint.add_url_rule('/monitor', 'monitor', self.ui_monitor_ws, is_websocket=True)
|
||||
|
||||
async def run(self, name, _children=None, _ctx={}, active=None, group=None, immediate=True, oneshot=oneshot, **kwargs):
|
||||
async def run(self, name, _children=None, _ctx={}, active=None, group=None, immediate=True, oneshot=False, **kwargs):
|
||||
if _children is None:
|
||||
raise UsageError('Empty scene definition! Did you mean scene.set?')
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue