Compare commits
2 Commits
2db0c27d68
...
e432ee7c3a
| Author | SHA1 | Date |
|---|---|---|
|
|
e432ee7c3a | |
|
|
de8d2a7b0c |
|
|
@ -158,27 +158,6 @@ DISABLED_BY_DEFAULT: Final = [
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
class UnitOfDir(StrEnum):
|
|
||||||
"""Wind direrction azimut."""
|
|
||||||
|
|
||||||
NNE = "nne"
|
|
||||||
NE = "ne"
|
|
||||||
ENE = "ene"
|
|
||||||
E = "e"
|
|
||||||
ESE = "ese"
|
|
||||||
SE = "se"
|
|
||||||
SSE = "sse"
|
|
||||||
S = "s"
|
|
||||||
SSW = "ssw"
|
|
||||||
SW = "sw"
|
|
||||||
WSW = "wsw"
|
|
||||||
W = "w"
|
|
||||||
WNW = "wnw"
|
|
||||||
NW = "nw"
|
|
||||||
NNW = "nnw"
|
|
||||||
N = "n"
|
|
||||||
|
|
||||||
|
|
||||||
class UnitOfDir(StrEnum):
|
class UnitOfDir(StrEnum):
|
||||||
"""Wind direrction azimut."""
|
"""Wind direrction azimut."""
|
||||||
|
|
||||||
|
|
@ -223,8 +202,10 @@ class UnitOfBat(StrEnum):
|
||||||
|
|
||||||
LOW = "low"
|
LOW = "low"
|
||||||
NORMAL = "normal"
|
NORMAL = "normal"
|
||||||
|
UNKNOWN = "unknown"
|
||||||
|
|
||||||
BATLEVEL: list[UnitOfBat] = [
|
BATTERY_LEVEL: list[UnitOfBat] = [
|
||||||
UnitOfBat.LOW,
|
UnitOfBat.LOW,
|
||||||
UnitOfBat.NORMAL,
|
UnitOfBat.NORMAL,
|
||||||
|
UnitOfBat.UNKNOWN,
|
||||||
]
|
]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue