Files
brewpi/components/atemperatureSensor.py
T
jens 6e7f8c2c59 - removed AtemperatureSensor::process
- task is AttributeChange
- hareden against Tempsensor exceptions
2021-10-19 11:29:11 +02:00

16 lines
261 B
Python

import abc
from utils.value import AttributeChange
class ATemperatureSensor(AttributeChange):
def __init__(self):
AttributeChange.__init__(self)
@abc.abstractmethod
def name(self):
return ""
@abc.abstractmethod
def temperature(self):
return None