Compare commits
1 Commits
e432ee7c3a
...
2db0c27d68
| Author | SHA1 | Date |
|---|---|---|
|
|
2db0c27d68 |
|
|
@ -158,6 +158,27 @@ 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."""
|
||||||
|
|
||||||
|
|
@ -202,10 +223,8 @@ class UnitOfBat(StrEnum):
|
||||||
|
|
||||||
LOW = "low"
|
LOW = "low"
|
||||||
NORMAL = "normal"
|
NORMAL = "normal"
|
||||||
UNKNOWN = "unknown"
|
|
||||||
|
|
||||||
BATTERY_LEVEL: list[UnitOfBat] = [
|
BATLEVEL: list[UnitOfBat] = [
|
||||||
UnitOfBat.LOW,
|
UnitOfBat.LOW,
|
||||||
UnitOfBat.NORMAL,
|
UnitOfBat.NORMAL,
|
||||||
UnitOfBat.UNKNOWN,
|
|
||||||
]
|
]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue