Skip to content

Commit 3f7a8d5

Browse files
author
brentru
committed
update prints for forecast
1 parent c6b9dfc commit 3f7a8d5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/mqtt/mqtt_weather.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
# (go to https://accounts.adafruit.com to find your username)
2222
ADAFRUIT_IO_USERNAME = 'USER'
2323

24-
# Set to ID of the forecast to subscribe to for updates.
24+
# Set to ID of the forecast to subscribe to for updates
2525
forecast_id = 1234
2626

2727
# Set to the ID of the feed to subscribe to for updates.
@@ -46,7 +46,7 @@ def connected(client):
4646
# This is a good place to subscribe to feed changes. The client parameter
4747
# passed to this function is the Adafruit IO MQTT client so you can make
4848
# calls against it easily.
49-
print('Connected to Adafruit IO! Listening for {0} changes...'.format(FEED_ID))
49+
print('Connected to Adafruit IO! Listening to forecast: {0}...'.format(forecast_id))
5050
# Subscribe to changes on a feed named DemoFeed.
5151
client.subscribe_weather(forecast_id, forecast_type)
5252

0 commit comments

Comments
 (0)