doorlockd.py: improve front end conversion
Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
This commit is contained in:
parent
47adac2e0f
commit
04ef5219d3
|
@ -137,7 +137,7 @@ class DoorState(Enum):
|
|||
def to_html(self):
|
||||
if self == DoorState.Open:
|
||||
return 'Offen'
|
||||
return 'Zu'
|
||||
return 'Geschlossen'
|
||||
|
||||
|
||||
class LogicResponse(Enum):
|
||||
|
|
Loading…
Reference in New Issue