Mercurial > code > home > repos > homeauto
changeset 78:0fa988159bb3
old fix to frontDoorArduino for door state. i think this is unused
Ignore-this: 47a644e0bb5f862841fb7ecc4d66d2c4
author | drewp@bigasterisk.com |
---|---|
date | Wed, 29 May 2013 00:34:39 -0700 |
parents | b19f137702d5 |
children | a2df988e2087 |
files | service/frontDoorArduino/frontDoorArduino.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/service/frontDoorArduino/frontDoorArduino.py Wed May 29 00:34:09 2013 -0700 +++ b/service/frontDoorArduino/frontDoorArduino.py Wed May 29 00:34:39 2013 -0700 @@ -101,7 +101,7 @@ board = self.settings.board g.add((DEV['frontDoorOpen'], ROOM['state'], - ROOM['open'] if board.getDoor() else ROOM['closed'])) + ROOM['open'] if board.getDoor() == 'open' else ROOM['closed'])) g.add((DEV['frontYardLight'], ROOM['state'], ROOM['on'] if board.getYardLight() else ROOM['off'])) g.add((DEV['frontDoorLcd'], ROOM['text'],