@@ -155,8 +155,6 @@ def add_json_transform(self, json_transform):
155
155
def get_local_time (self , location = None ):
156
156
# pylint: disable=line-too-long
157
157
"""
158
- NOTE: Do not use yet. This is currently not working.
159
-
160
158
Fetch and "set" the local time of this microcontroller to the local time at the location, using an internet time API.
161
159
162
160
:param str location: Your city and country, e.g. ``"New York, US"``.
@@ -319,13 +317,11 @@ def _get_io_client(self):
319
317
"Adafruit IO secrets are kept in secrets.py, please add them there!\n \n "
320
318
) from KeyError
321
319
322
- return IO_HTTP (aio_username , aio_key , self ._wifi .manager ( secrets ) )
320
+ return IO_HTTP (aio_username , aio_key , self ._wifi .requests )
323
321
324
322
def push_to_io (self , feed_key , data ):
325
323
"""Push data to an adafruit.io feed
326
324
327
- NOTE: Do not use yet. This is currently not working.
328
-
329
325
:param str feed_key: Name of feed key to push data to.
330
326
:param data: data to send to feed
331
327
@@ -358,8 +354,6 @@ def push_to_io(self, feed_key, data):
358
354
def get_io_feed (self , feed_key , detailed = False ):
359
355
"""Return the Adafruit IO Feed that matches the feed key
360
356
361
- NOTE: Do not use yet. This is currently not working.
362
-
363
357
:param str feed_key: Name of feed key to match.
364
358
:param bool detailed: Whether to return additional detailed information
365
359
@@ -377,8 +371,6 @@ def get_io_feed(self, feed_key, detailed=False):
377
371
def get_io_group (self , group_key ):
378
372
"""Return the Adafruit IO Group that matches the group key
379
373
380
- NOTE: Do not use yet. This is currently not working.
381
-
382
374
:param str group_key: Name of group key to match.
383
375
384
376
"""
@@ -395,8 +387,6 @@ def get_io_group(self, group_key):
395
387
def get_io_data (self , feed_key ):
396
388
"""Return all values from Adafruit IO Feed Data that matches the feed key
397
389
398
- NOTE: Do not use yet. This is currently not working.
399
-
400
390
:param str feed_key: Name of feed key to receive data from.
401
391
402
392
"""
0 commit comments