from core.api.extension import CBPiExtension class CBPiSensor(CBPiExtension): async def run(self, cbpi): print("RUN NOT IMPLEMENTED") def state(self): pass