Skip to content
Snippets Groups Projects
Commit 8ce2d701 authored by Nate Clark's avatar Nate Clark Committed by Aaron Bach
Browse files

fix bug where momentary switch with activation low does not reset (#16603)

parent 9c1a539f
No related branches found
No related tags found
No related merge requests found
......@@ -83,7 +83,7 @@ class KonnectedSwitch(ToggleEntity):
if self._momentary and resp.get(ATTR_STATE) != -1:
# Immediately set the state back off for momentary switches
self._set_state(self._boolean_state(False))
self._set_state(False)
def turn_off(self, **kwargs):
"""Send a command to turn off the switch."""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment