craftbeerpi4-pione/core/api/sensor.py

17 lines
249 B
Python
Raw Normal View History

2018-11-01 21:25:42 +01:00
from core.api.extension import CBPiExtension
class CBPiSensor(CBPiExtension):
2018-11-01 19:50:04 +01:00
def __init__(self):
self.id = "";
self.name = ""
def on(self):
pass
def off(self):
pass
def state(self):
pass