summaryrefslogtreecommitdiff
path: root/include/py/homekit/mqtt/module/relay.py
diff options
context:
space:
mode:
Diffstat (limited to 'include/py/homekit/mqtt/module/relay.py')
-rw-r--r--include/py/homekit/mqtt/module/relay.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/py/homekit/mqtt/module/relay.py b/include/py/homekit/mqtt/module/relay.py
index e968031..5cbe09b 100644
--- a/include/py/homekit/mqtt/module/relay.py
+++ b/include/py/homekit/mqtt/module/relay.py
@@ -69,8 +69,7 @@ class MqttRelayModule(MqttModule):
mqtt.subscribe_module(self._get_switch_topic(), self)
mqtt.subscribe_module('relay/status', self)
- def switchpower(self,
- enable: bool):
+ def switchpower(self, enable: bool):
payload = MqttPowerSwitchPayload(secret=self._mqtt_node_ref.secret,
state=enable)
self._mqtt_node_ref.publish(self._get_switch_topic(),