Mercurial > code > home > repos > homeauto
changeset 207:61094b3ee0e0
fix temp init
Ignore-this: df4368c5bcb03af26b055c9a90ba7e61
author | drewp@bigasterisk.com |
---|---|
date | Sat, 07 Nov 2015 10:06:05 -0800 |
parents | aa98ff8b147c |
children | e203a7d075e6 |
files | service/piNode/devices.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/service/piNode/devices.py Sat Nov 07 10:02:26 2015 -0800 +++ b/service/piNode/devices.py Sat Nov 07 10:06:05 2015 -0800 @@ -181,7 +181,7 @@ deviceType = ROOM['OnboardTemperature'] @classmethod def findInstances(cls, graph, board, pi): - for row in graph.query('''SELECT DISTINCT ?dev WHERE { + for row in graph.query('''SELECT DISTINCT ?uri WHERE { ?board :onboardDevice ?uri . ?uri a :OnboardTemperature . }'''):