diff service/reasoning/rules.n3 @ 276:b619aba0f784

quoting Ignore-this: 6117b9f992a8361ba663590b13c9c69b
author drewp@bigasterisk.com
date Fri, 06 May 2016 17:29:32 -0700
parents 570b0e73d2bc
children 960a587e51d7
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 } .
+