From 3e231a1b2fde125af309ef1a7ba6a88454862f47 Mon Sep 17 00:00:00 2001 From: Tyeth Gundry Date: Tue, 16 Jul 2024 19:02:17 +0100 Subject: [PATCH] Correct secrets key to ADAFRUIT_AIO_USERNAME --- examples/adafruit_io_http/adafruit_io_groups.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/examples/adafruit_io_http/adafruit_io_groups.py b/examples/adafruit_io_http/adafruit_io_groups.py index 5c4326f..a7f0809 100644 --- a/examples/adafruit_io_http/adafruit_io_groups.py +++ b/examples/adafruit_io_http/adafruit_io_groups.py @@ -71,7 +71,10 @@ # If you are testing on python with blinka, use real requests below and comment out above: # import os, datetime, requests as real_requests # from adafruit_io.adafruit_io import IO_HTTP -# secrets = {"aio_username": os.getenv("AIO_USERNAME"), "aio_key": os.getenv("AIO_KEY")} +# secrets = { +# "aio_username": os.getenv("ADAFRUIT_AIO_USERNAME"), +# "aio_key": os.getenv("ADAFRUIT_AIO_KEY"), +# } # requests = real_requests.Session()