We'd like to refactor https://github.com/OpenRoberta/robertalab-ev3dev/blob/develop/roberta/lab.py to not import ev3dev and Hal anymore.
Instead when initializing the roberta.lab.Service() we'd like to pass a device module.
The device module will have function such as:
def updateDeviceState(): # set firmware name, update battery status
def notifyConnect(): # eg play a beep, or toggle a led
def notifyDisconnect():
def reset(): # resets actors, sensors
...