from core.api.extension import CBPiExtension class CBPiSensor(CBPiExtension): def __init__(self): self.id = ""; self.name = "" def on(self): pass def off(self): pass def state(self): pass