Compare commits
2 commits
9e9556b8ea
...
1ac2b21f62
Author | SHA1 | Date | |
---|---|---|---|
Carsten Schmiemann | 1ac2b21f62 | ||
Carsten Schmiemann | f58d88029d |
|
@ -87,8 +87,8 @@ class NodeRedMeterEinspeisung:
|
||||||
|
|
||||||
|
|
||||||
def _Status(self):
|
def _Status(self):
|
||||||
logging.info("Last update: %s" % (self._lastUpdate))
|
logging.debug("Last update: %s" % (self._lastUpdate))
|
||||||
logging.info("Last '/Ac/Power': %s" % (self._dbusservice['/Ac/Power']))
|
logging.debug("Last '/Ac/Power': %s" % (self._dbusservice['/Ac/Power']))
|
||||||
return True
|
return True
|
||||||
|
|
||||||
def _update(self):
|
def _update(self):
|
||||||
|
@ -198,4 +198,4 @@ def main():
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logging.critical('Error at %s', 'main', exc_info=e)
|
logging.critical('Error at %s', 'main', exc_info=e)
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
main()
|
main()
|
||||||
|
|
Loading…
Reference in a new issue