mirror of
https://github.com/binary-kitchen/doorlockd
synced 2025-01-02 22:45:23 +01:00
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
Block a user