autopilot
autopilot copied to clipboard
'group' not correctly applied from setup for hardware objects
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
{
"HARDWARE": {
{
"GPIO": {"MYLED": {...}}
}
}}