Skip to content

Patch Adafruit IO CircuitPython to match for latest breaking release #44

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 23, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions adafruit_pyportal.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
import rtc
import supervisor

from adafruit_io.adafruit_io import RESTClient, AdafruitIO_RequestError
from adafruit_io.adafruit_io import IO_HTTP, AdafruitIO_RequestError

try:
from secrets import secrets
Expand Down Expand Up @@ -691,7 +691,7 @@ def push_to_io(self, feed_key, data):
raise KeyError("Adafruit IO secrets are kept in secrets.py, please add them there!\n\n")

wifi = adafruit_esp32spi_wifimanager.ESPSPI_WiFiManager(self._esp, secrets, None)
io_client = RESTClient(aio_username, aio_key, wifi)
io_client = IO_HTTP(aio_username, aio_key, wifi)

while True:
try:
Expand Down