Compare commits

..

1 Commits

Author SHA1 Message Date
FerronN 2db0c27d68
Merge cf0938a6fd into 99d25bfd56 2025-07-11 08:17:02 +00:00
1 changed files with 22 additions and 3 deletions

View File

@ -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,
] ]