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