diff --git a/custom_components/sws12500/const.py b/custom_components/sws12500/const.py index 28bc375..b790c88 100644 --- a/custom_components/sws12500/const.py +++ b/custom_components/sws12500/const.py @@ -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): """Wind direrction azimut.""" @@ -223,8 +202,10 @@ class UnitOfBat(StrEnum): LOW = "low" NORMAL = "normal" + UNKNOWN = "unknown" -BATLEVEL: list[UnitOfBat] = [ +BATTERY_LEVEL: list[UnitOfBat] = [ UnitOfBat.LOW, UnitOfBat.NORMAL, + UnitOfBat.UNKNOWN, ]