Mercurial > code > home > repos > homeauto
diff service/frontDoorLock/front_door_lock.py @ 425:d495d4382a07
comments and console layout
Ignore-this: b45fcf8177a1200c126b80bf9f43aafa
author | drewp@bigasterisk.com |
---|---|
date | Thu, 04 Apr 2019 02:14:48 -0700 |
parents | 67cebf7a14de |
children | bfe555dd0c91 |
line wrap: on
line diff
--- a/service/frontDoorLock/front_door_lock.py Sat Mar 30 23:56:08 2019 -0700 +++ b/service/frontDoorLock/front_door_lock.py Thu Apr 04 02:14:48 2019 -0700 @@ -1,3 +1,11 @@ +""" +:frontDoorLock :state :locked/:unlocked +is the true state of the lock, maintained in this process. + +put :frontDoorLock :state ?s to this /output to request a change. + +reasoning can infer :frontDoorLock :putState ?s to do that put request. +""" from docopt import docopt from patchablegraph import PatchableGraph, CycloneGraphHandler, CycloneGraphEventsHandler from rdflib import Namespace, URIRef, Literal, Graph