Skip to content

Commit 9c29b78

Browse files
Apply suggestions from code review
Co-authored-by: Dan Halbert <[email protected]>
1 parent 9255b59 commit 9c29b78

File tree

9 files changed

+9
-9
lines changed

9 files changed

+9
-9
lines changed

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ Usage Example
8888
mqtt_client = MQTT.MQTT(
8989
broker="io.adafruit.com",
9090
username=aio_username,
91-
password=aio_username,
91+
password=aio_key,
9292
socket_pool=pool,
9393
ssl_context=ssl_context,
9494
)

examples/dash_display_advancedtest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ def pub_lamp(lamp):
184184
mqtt_client = MQTT.MQTT(
185185
broker="io.adafruit.com",
186186
username=aio_username,
187-
password=aio_username,
187+
password=aio_key,
188188
socket_pool=pool,
189189
ssl_context=ssl_context,
190190
)

examples/dash_display_client_examples/battery_daughter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def message(client, feed_id, payload):
9191
mqtt_client = MQTT.MQTT(
9292
broker="io.adafruit.com",
9393
username=aio_username,
94-
password=aio_username,
94+
password=aio_key,
9595
socket_pool=pool,
9696
ssl_context=ssl_context,
9797
)

examples/dash_display_client_examples/door_daughter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
mqtt_client = MQTT.MQTT(
7373
broker="io.adafruit.com",
7474
username=aio_username,
75-
password=aio_username,
75+
password=aio_key,
7676
socket_pool=pool,
7777
ssl_context=ssl_context,
7878
)

examples/dash_display_client_examples/neopixel_daughter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ def on_neopixel(client, topic, message):
8989
mqtt_client = MQTT.MQTT(
9090
broker="io.adafruit.com",
9191
username=aio_username,
92-
password=aio_username,
92+
password=aio_key,
9393
socket_pool=pool,
9494
ssl_context=ssl_context,
9595
)

examples/dash_display_client_examples/relay_daughter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def on_lamp(client, topic, message):
8686
mqtt_client = MQTT.MQTT(
8787
broker="io.adafruit.com",
8888
username=aio_username,
89-
password=aio_username,
89+
password=aio_key,
9090
socket_pool=pool,
9191
ssl_context=ssl_context,
9292
)

examples/dash_display_client_examples/relay_hi_daughter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ def on_hi(client, topic, message):
8989
mqtt_client = MQTT.MQTT(
9090
broker="io.adafruit.com",
9191
username=aio_username,
92-
password=aio_username,
92+
password=aio_key,
9393
socket_pool=pool,
9494
ssl_context=ssl_context,
9595
)

examples/dash_display_client_examples/temp_humid_daughter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
mqtt_client = MQTT.MQTT(
4242
broker="io.adafruit.com",
4343
username=aio_username,
44-
password=aio_username,
44+
password=aio_key,
4545
socket_pool=pool,
4646
ssl_context=ssl_context,
4747
)

examples/dash_display_simpletest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
mqtt_client = MQTT.MQTT(
4949
broker="io.adafruit.com",
5050
username=aio_username,
51-
password=aio_username,
51+
password=aio_key,
5252
socket_pool=pool,
5353
ssl_context=ssl_context,
5454
)

0 commit comments

Comments
 (0)