changeset 1081:0fa2e07691f7

quoting Ignore-this: 6117b9f992a8361ba663590b13c9c69b darcs-hash:9d7633b7cf25a65a7040b8f6fc918d731ce7f85c
author drewp <drewp@bigasterisk.com>
date Fri, 06 May 2016 17:29:32 -0700
parents 4d16fa39d54a
children 4bbc4fea343c
files service/reasoning/rules.n3
diffstat 1 files changed, 8 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/service/reasoning/rules.n3	Fri May 06 15:42:04 2016 -0700
+++ b/service/reasoning/rules.n3	Fri May 06 17:29:32 2016 -0700
@@ -120,24 +120,24 @@
 { shuttle:dial :change :counterclockwise } => { mpd: :audioState :volumeStepDown } .
 
 { <http://bigasterisk.com/homeauto/sensor/motion0> :seesRecently <http://projects.bigasterisk.com/room/noMotion> . } => {
-  :storageCeilingLedCross :brightness "0" .
-  :storageCeilingLedLong :brightness "0" .
+  :storageCeilingLedCross :brightness 0 .
+  :storageCeilingLedLong :brightness 0 .
 } .
 
 { <http://bigasterisk.com/homeauto/sensor/motion0> :seesRecently <http://projects.bigasterisk.com/room/motion> . } => {
-  :storageCeilingLedCross :brightness "1" .
-  :storageCeilingLedLong :brightness "1" .
+  :storageCeilingLedCross :brightness 1 .
+  :storageCeilingLedLong :brightness 1 .
 } .
 
 { <http://bigasterisk.com/homeauto/sensor/motion0> :sees <http://projects.bigasterisk.com/room/motionStart> . } => {
-  :storageCeilingLedCross :brightness "1" .
-  :storageCeilingLedLong :brightness "1" .
+  :storageCeilingLedCross :brightness 1 .
+  :storageCeilingLedLong :brightness 1 .
 } .
 
 @prefix bed: <http://bigasterisk.com/homeauto/sensor/bed/> .
 
 { bed:greenButton :buttonState :press } => {
-  :headboardWhite :brightness 0 .
+  :headboardWhite :brightness 0.0 .
 } .
 
 { bed:redButton :buttonState :press } => {
@@ -165,3 +165,4 @@
   :livingRoomLamp1 :brightness 1.0 . :livingRoomLamp2 :brightness 1.0 } .
 { :bookSwitch :buttonState :press . :livingRoomLamp1 :brightness 1.0 . } => {
   :livingRoomLamp1 :brightness 0.0 . :livingRoomLamp2 :brightness 0.0 } .
+