From 8ce2d701c294b7310b00648591fc6ebfae6f5243 Mon Sep 17 00:00:00 2001
From: Nate Clark <nate@nateclark.com>
Date: Fri, 14 Sep 2018 15:31:41 -0400
Subject: [PATCH] fix bug where momentary switch with activation low does not
 reset (#16603)

---
 homeassistant/components/switch/konnected.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/homeassistant/components/switch/konnected.py b/homeassistant/components/switch/konnected.py
index 20774accbd5..84016dac28d 100644
--- a/homeassistant/components/switch/konnected.py
+++ b/homeassistant/components/switch/konnected.py
@@ -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."""
-- 
GitLab