Improved logging mechanism (and a few minor goodies) (#54)

* Improved logging mechanism

* Allow for suppression of any errors regarding failed device updates
This commit is contained in:
Dennis Keitzel
2019-03-03 19:46:38 +01:00
committed by zewelor
parent c6a068f811
commit c9a634870f
14 changed files with 200 additions and 69 deletions
+5 -3
View File
@@ -1,9 +1,11 @@
from mqtt import MqttMessage
from workers.base import BaseWorker
from logger import _LOGGER
import serial
from mqtt import MqttMessage
from workers.base import BaseWorker
import logger
REQUIREMENTS = ['pyserial']
_LOGGER = logger.get(__name__)
class MysensorsWorker(BaseWorker):