Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions proto/cleaned/quilt_hds.proto
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ enum HVACMode {
HVAC_MODE_FAN = 5;
HVAC_MODE_FALLBACK_AUTO = 6;
HVAC_MODE_FALLBACK_OFF = 7;
HVAC_MODE_DRY = 8;
}

// Confirmed by Android proto Java enum SJ (implements ProtocolMessageEnum).
Expand Down
84 changes: 42 additions & 42 deletions src/quilt_hp/_proto/quilt_hds_pb2.py

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions src/quilt_hp/_proto/quilt_hds_pb2.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ class _HVACModeEnumTypeWrapper(_enum_type_wrapper._EnumTypeWrapper[_HVACMode.Val
HVAC_MODE_FAN: _HVACMode.ValueType # 5
HVAC_MODE_FALLBACK_AUTO: _HVACMode.ValueType # 6
HVAC_MODE_FALLBACK_OFF: _HVACMode.ValueType # 7
HVAC_MODE_DRY: _HVACMode.ValueType # 8

class HVACMode(_HVACMode, metaclass=_HVACModeEnumTypeWrapper):
"""---------------------------------------------------------------------------
Expand All @@ -54,6 +55,7 @@ HVAC_MODE_AUTO: HVACMode.ValueType # 4
HVAC_MODE_FAN: HVACMode.ValueType # 5
HVAC_MODE_FALLBACK_AUTO: HVACMode.ValueType # 6
HVAC_MODE_FALLBACK_OFF: HVACMode.ValueType # 7
HVAC_MODE_DRY: HVACMode.ValueType # 8
Global___HVACMode: _TypeAlias = HVACMode # noqa: Y015

class _HVACState:
Expand Down
1 change: 1 addition & 0 deletions src/quilt_hp/models/enums.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ class HVACMode(IntEnum):
FAN = 5
FALLBACK_AUTO = 6
FALLBACK_OFF = 7
DRY = 8

def __str__(self) -> str:
return self.name
Expand Down