diff service/reasoning/actions.py @ 264:570b0e73d2bc

rules updates Ignore-this: e8f0c7c412d0e685296139d5ccd19021
author drewp@bigasterisk.com
date Thu, 14 Apr 2016 00:10:26 -0700
parents 54fad386d6f5
children c192d37b2bc8
line wrap: on
line diff
--- a/service/reasoning/actions.py	Sat Apr 02 23:34:44 2016 -0700
+++ b/service/reasoning/actions.py	Thu Apr 14 00:10:26 2016 -0700
@@ -35,12 +35,14 @@
                 #(DEV.theaterDoorLock, ROOM.state),
                 #(URIRef('http://bigasterisk.com/host/bang/monitor'), ROOM.powerState),
                 (URIRef('http://bigasterisk.com/host/dash/monitor'), ROOM.powerState),
-                (URIRef('http://projects.bigasterisk.com/room/storageCeilingLedLong'), ROOM.brightness),
-                (URIRef('http://projects.bigasterisk.com/room/storageCeilingLedCross'), ROOM.brightness),
-                (URIRef('http://projects.bigasterisk.com/room/headboardWhite'), ROOM.brightness),
-                (URIRef('http://projects.bigasterisk.com/room/changingWhite'), ROOM.brightness),
-                (URIRef('http://projects.bigasterisk.com/room/starTrekLight'), ROOM.brightness),
-                (URIRef('http://projects.bigasterisk.com/room/bedLedStrip'), ROOM.color),
+                (ROOM['storageCeilingLedLong'], ROOM.brightness),
+                (ROOM['storageCeilingLedCross'], ROOM.brightness),
+                (ROOM['headboardWhite'], ROOM.brightness),
+                (ROOM['changingWhite'], ROOM.brightness),
+                (ROOM['starTrekLight'], ROOM.brightness),
+                (ROOM['livingRoomLamp1'], ROOM.brightness),
+                (ROOM['livingRoomLamp2'], ROOM.brightness),
+                (ROOM['bedLedStrip'], ROOM.color),
             ]:
             url = deviceGraph.value(dev, ROOM.putUrl)