1
0
mirror of https://github.com/home-assistant/supervisor.git synced 2025-12-24 04:19:03 +00:00

Fix wrong last boot (#1521)

* Protect overwrite last boot uptime

* Fix naming

* Fix lint
This commit is contained in:
Pascal Vizeli
2020-02-20 21:37:59 +01:00
committed by GitHub
parent 1fbb6d46ea
commit e9f5b13aa5
3 changed files with 33 additions and 17 deletions

View File

@@ -342,3 +342,12 @@ class UpdateChannels(str, Enum):
STABLE = "stable"
BETA = "beta"
DEV = "dev"
class CoreStates(str, Enum):
"""Represent current loading state."""
INITIALIZE = "initialize"
STARTUP = "startup"
RUNNING = "running"
FREEZE = "freeze"