from Adafruit_IO import Client aio = Client('AIO-API-KEY') hum = aio.receive('Humidity') print("{0}".format(hum.value))