Skip to content

Commit

Permalink
fix typo from PR #13
Browse files Browse the repository at this point in the history
  • Loading branch information
drscheme123 authored May 16, 2018
1 parent eaacca4 commit 0082ce5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/openhab/triggers.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def __init__(self, itemName, state=None, triggerName=None):
Trigger.__init__(self, triggerName, "core.ItemStateUpdateTrigger", Configuration(config))

class ItemStateChangeTrigger(Trigger):
def __init__(self, itemName, state=None, triggerName=None, previousState=None):):
def __init__(self, itemName, state=None, triggerName=None, previousState=None):
triggerName = triggerName or uuid.uuid1().hex
config = { "itemName": itemName }
if state is not None:
Expand Down Expand Up @@ -187,4 +187,4 @@ def callback(module, inputs):
rule = _FunctionRule(callback, group_triggers, extended=True, name=trigger_name)
get_automation_manager().addRule(rule)
return fn
return decorator
return decorator

0 comments on commit 0082ce5

Please sign in to comment.