Open sneakers-the-rat opened 2 years ago
Setup asks for a 'group' to put the hardware objects in, but doesn't respect it when saving in prefs.json
eg. a task asks for
HARDWARE = { 'LEDS' : { 'MYLED': {...} } }
So during setup you set group = LEDS and name = MYLED but it will be saved in prefs as
group = LEDS
name = MYLED
{ "HARDWARE": { { "GPIO": {"MYLED": {...}} } }}
Setup asks for a 'group' to put the hardware objects in, but doesn't respect it when saving in prefs.json
eg. a task asks for
So during setup you set
group = LEDS
andname = MYLED
but it will be saved in prefs as