# HG changeset patch # User drewp # Date 1462581080 25200 # Node ID c5b61f94306140394c769ee7b9d1faa080b78745 # Parent 4bbc4fea343cb5cf6b809519a54b455bacc3e2a3 try a 2-mode rule for redButton, but this can't work as-is Ignore-this: 391356b778a41a28bb99097af42d65a4 darcs-hash:aa3db688cfa98036b7527a92059ba9cc4703c636 diff -r 4bbc4fea343c -r c5b61f943061 service/reasoning/rules.n3 --- a/service/reasoning/rules.n3 Fri May 06 17:30:33 2016 -0700 +++ b/service/reasoning/rules.n3 Fri May 06 17:31:20 2016 -0700 @@ -140,8 +140,12 @@ :headboardWhite :brightness 0.0 . } . -{ bed:redButton :buttonState :press } => { - :headboardWhite :brightness 0.04 . +{ bed:redButton :buttonState :press . :headboardWhite :brightness 0.0 . } => { + :headboardWhite :brightness 0.2 . +} . + +{ bed:redButton :buttonState :press . :headboardWhite :brightness 0.2 . } => { + :headboardWhite :brightness 1 . } . @prefix sensor: .