Skip to content

Commit

Permalink
long press update
Browse files Browse the repository at this point in the history
  • Loading branch information
NickWaterton committed May 30, 2022
1 parent 06d8282 commit f681bf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lutron.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ def long_press(self):
return None
if not self._long_press_task.cancelled():
return self._long_press_task.cancel() #returns None
self.publish('{}/{}/longpress'.format(self.name, self.button_number), str(self))
self.publish('{}/{}/long'.format(self.name, self.button_number), str(self))
return self._long_press_task.cancel() #returns None


Expand Down

0 comments on commit f681bf1

Please sign in to comment.