hass_button_emulator.py: ruff format
This commit is contained in:
parent
14c4ec65ee
commit
bde5e940c8
1 changed files with 3 additions and 1 deletions
|
@ -28,7 +28,9 @@ def main():
|
|||
j = json.dumps({"command": "scene_recall", "args": {"scene_id": 0}})
|
||||
# j = json.dumps({'command': 'shutdown'})
|
||||
|
||||
client.publish(mqtt_client.MqttClient.MQTT_COMMAND_TOPIC, payload=j, qos=0, retain=False)
|
||||
client.publish(
|
||||
mqtt_client.MqttClient.MQTT_COMMAND_TOPIC, payload=j, qos=0, retain=False
|
||||
)
|
||||
|
||||
time.sleep(2)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue