- cleaned up
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import abc
|
||||
import logging
|
||||
from utils.value import AttributeChange, ValueChanged
|
||||
from utils.value import AttributeChange
|
||||
|
||||
|
||||
class ATemperatureSensor(AttributeChange):
|
||||
@@ -9,7 +9,7 @@ class ATemperatureSensor(AttributeChange):
|
||||
|
||||
def log(self, s):
|
||||
d = {'user': "TemperatureSensor" + "::" + self.name()}
|
||||
logging.info ("{}".format(s), extra=d)
|
||||
logging.info("{}".format(s), extra=d)
|
||||
|
||||
@abc.abstractmethod
|
||||
def name(self):
|
||||
|
||||
Reference in New Issue
Block a user