Skip to content

Commit eedd124

Browse files
authored
Correct field names for Adafruit IO to match website
1 parent 12f449b commit eedd124

File tree

1 file changed

+2
-2
lines changed
  • CircuitPython_Templates/adafruit_io_cpu_temp_neopixel_color

1 file changed

+2
-2
lines changed

CircuitPython_Templates/adafruit_io_cpu_temp_neopixel_color/code.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ def message(client, feed_id, payload): # pylint: disable=unused-argument
4848
# Initialize a new MQTT Client object
4949
mqtt_client = MQTT.MQTT(
5050
broker="io.adafruit.com",
51-
username=os.getenv("ADAFRUIT_IO_USERNAME"),
52-
password=os.getenv("ADAFRUIT_IO_KEY"),
51+
username=os.getenv("ADAFRUIT_AIO_USERNAME"),
52+
password=os.getenv("ADAFRUIT_AIO_KEY"),
5353
socket_pool=pool,
5454
ssl_context=ssl.create_default_context(),
5555
)

0 commit comments

Comments
 (0)