"""
class DevConfig(DeviceConfig):
    def __init__(self):
        self.i = 1
        self.d = 1.0
        self.b = True
        self.s = "Test"
"""


class Dev(DeviceBase):
    def __init__(self, name):
        #DeviceBase.__init__(self, name, DevConfig())
        DeviceBase.__init__(self, name, DeviceConfig({"i":1, "d":1.0, "b":True, "s": "Test"}))
raise Exception("test ex")
add_device(Dev("test_cfg"), True)
