hass_button_emulator.py: ruff format

This commit is contained in:
coon 2025-09-26 23:51:20 +02:00
parent 14c4ec65ee
commit bde5e940c8

View file

@ -28,7 +28,9 @@ def main():
j = json.dumps({"command": "scene_recall", "args": {"scene_id": 0}}) j = json.dumps({"command": "scene_recall", "args": {"scene_id": 0}})
# j = json.dumps({'command': 'shutdown'}) # 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) time.sleep(2)