Mercurial > code > home > repos > homeauto
changeset 741:1135680fba5a
stop updating a graph (mqtt is our output)
Ignore-this: 764732cb27bde75d7425a4691a4faaf0
author | drewp@bigasterisk.com |
---|---|
date | Mon, 10 Feb 2020 23:58:57 -0800 |
parents | 1f8abec7f687 |
children | 632a88c27b11 |
files | service/rdf_to_mqtt/rdf_to_mqtt.py |
diffstat | 1 files changed, 0 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/service/rdf_to_mqtt/rdf_to_mqtt.py Mon Feb 10 23:58:26 2020 -0800 +++ b/service/rdf_to_mqtt/rdf_to_mqtt.py Mon Feb 10 23:58:57 2020 -0800 @@ -88,10 +88,6 @@ self._publishOnOff(attrs, brightness) else: self._publishRgbw(attrs, brightness) - # try to stop saving this; let the device be the master usually - self.settings.masterGraph.patchObject( - attrs['ctx'], - stmt[0], stmt[1], stmt[2]) ignored = False if ignored: log.warn("ignoring %s", stmt) @@ -151,8 +147,4 @@ ], mqtt=mqtt, debug=arg['-v']), interface='::') log.warn('serving on %s', port) - for dev, attrs in devs.items(): - masterGraph.patchObject(attrs['ctx'], - dev, ROOM['brightness'], Literal(0.0)) - reactor.run()