Skip to content

Commit

Permalink
Add fan state enums to __init__ (#383)
Browse files Browse the repository at this point in the history
  • Loading branch information
Xeio authored Oct 21, 2024
1 parent 5a8f293 commit 7fc1b43
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions aiohomekit/model/characteristics/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
from .characteristic_types import CharacteristicsTypes
from .const import (
ActivationStateValues,
CurrentFanStateValues,
CurrentHeaterCoolerStateValues,
CurrentMediaStateValues,
HeatingCoolingCurrentValues,
Expand All @@ -29,6 +30,7 @@
ProgramModeValues,
RemoteKeyValues,
SwingModeValues,
TargetFanStateValues,
TargetHeaterCoolerStateValues,
TargetMediaStateValues,
ValveTypeValues,
Expand All @@ -52,6 +54,7 @@
"CharacteristicPermissions",
"CharacteristicsTypes",
"CharacteristicUnits",
"TargetFanStateValues",
"TargetMediaStateValues",
"CurrentMediaStateValues",
"RemoteKeyValues",
Expand All @@ -66,6 +69,7 @@
"ValveTypeValues",
"ActivationStateValues",
"SwingModeValues",
"CurrentFanStateValues",
"CurrentHeaterCoolerStateValues",
"TargetHeaterCoolerStateValues",
"EVENT_CHARACTERISTICS",
Expand Down
4 changes: 2 additions & 2 deletions aiohomekit/model/characteristics/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ class SwingModeValues(enum.IntEnum):
ENABLED = 1


class CurrentFanState(enum.IntEnum):
class CurrentFanStateValues(enum.IntEnum):
"""Possible values current fan state.
https://developer.apple.com/documentation/homekit/hmcharacteristicvaluecurrentfanstate
"""
Expand All @@ -149,7 +149,7 @@ class CurrentFanState(enum.IntEnum):
ACTIVE = 2


class TargetFanState(enum.IntEnum):
class TargetFanStateValues(enum.IntEnum):
"""Possible values target fan state.
https://developer.apple.com/documentation/homekit/hmcharacteristicvaluetargetfanstate
"""
Expand Down

0 comments on commit 7fc1b43

Please sign in to comment.