Update const.py

pull/72/head
schizza 2025-08-16 17:29:22 +02:00 committed by Ferron Nijland
parent af286648e9
commit a68a4c929a
1 changed files with 3 additions and 22 deletions

View File

@ -159,27 +159,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."""
@ -224,8 +203,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,
] ]