Skip to content

Commit 09af104

Browse files
author
brentru
committed
black!
1 parent 7663fd7 commit 09af104

File tree

1 file changed

+4
-1
lines changed
  • Adafruit_IO_Schedule_Trigger

1 file changed

+4
-1
lines changed

Adafruit_IO_Schedule_Trigger/code.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ def on_relay_msg(client, topic, message):
9494
else:
9595
print("Unexpected value received on relay feed.")
9696

97+
9798
# Connect to WiFi
9899
print("Connecting to WiFi...")
99100
wifi.connect()
@@ -104,7 +105,9 @@ def on_relay_msg(client, topic, message):
104105

105106
# Initialize a new MQTT Client object
106107
mqtt_client = MQTT.MQTT(
107-
broker="io.adafruit.com", username=secrets["aio_username"], password=secrets["aio_key"],
108+
broker="io.adafruit.com",
109+
username=secrets["aio_username"],
110+
password=secrets["aio_key"],
108111
)
109112

110113
# Initialize an Adafruit IO MQTT Client

0 commit comments

Comments
 (0)