Mercurial > code > home > repos > homeauto
changeset 1012:d125a8c90f6c
fix temp init
Ignore-this: df4368c5bcb03af26b055c9a90ba7e61
darcs-hash:20151107180605-312f9-1bbea091b13fad80d17f4cb9c848fa1b82b78a3f
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Sat, 07 Nov 2015 10:06:05 -0800 |
parents | d2dad0e5d380 |
children | 156dda05d811 |
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 . }'''):