- improved tempsensor exception

This commit is contained in:
jens
2021-10-19 11:42:52 +02:00
parent e07f9b4802
commit a267e4004e
3 changed files with 11 additions and 4 deletions
+5
View File
@@ -2,6 +2,11 @@ import abc
from utils.value import AttributeChange
class TemperatureSensorException(Exception):
def __init__(self, error_txt):
Exception.__init__(self, error_txt)
class ATemperatureSensor(AttributeChange):
def __init__(self):
AttributeChange.__init__(self)