craftbeerpi4-pione/core/api/sensor.py
2018-11-01 21:25:42 +01:00

17 lines
No EOL
249 B
Python

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