adafruit/Adafruit_IO_Arduino

Handle Toggle Button Default `ON` Better

Closed this issue · 1 comments

Like most Adafruit IO elements, toggle buttons send a string 'ON' or 'OFF' by default.

Add in support for these default strings to the toBool helper function in AIO_A:
https://github.com/adafruit/Adafruit_IO_Arduino/blob/master/src/AdafruitIO_Data.cpp#L243

PR was closed, closing...