craftbeerpi4-pione/core/api/sensor.py
2018-11-01 19:50:04 +01:00

14 lines
No EOL
185 B
Python

class Sensor():
def __init__(self):
self.id = "";
self.name = ""
def on(self):
pass
def off(self):
pass
def state(self):
pass