doorlockd.py: improve front end conversion

Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
This commit is contained in:
Ralf Ramsauer 2018-03-23 22:52:36 +00:00
parent 47adac2e0f
commit 04ef5219d3
1 changed files with 1 additions and 1 deletions

View File

@ -137,7 +137,7 @@ class DoorState(Enum):
def to_html(self):
if self == DoorState.Open:
return 'Offen'
return 'Zu'
return 'Geschlossen'
class LogicResponse(Enum):