Mercurial > code > home > repos > homeauto
changeset 1541:d786df082a73
stop updating a graph (mqtt is our output)
Ignore-this: 764732cb27bde75d7425a4691a4faaf0
darcs-hash:e172f313c0671c368d3e60b2d5d92a75885e105d
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Mon, 10 Feb 2020 23:58:57 -0800 |
parents | 0c8aa432ec9d |
children | 5517f54eaba8 |
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()