Skip to content

Commit 10d81cb

Browse files
committed
Add the HVAC component category
This needs a bump of the minimum `frequenz-api-common` to v0.6.1 as this category was added in that version. Signed-off-by: Leandro Lucarella <[email protected]>
1 parent 9fb29df commit 10d81cb

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ classifiers = [
2727
requires-python = ">= 3.11, < 4"
2828
dependencies = [
2929
"typing-extensions >= 4.13.0, < 5",
30-
"frequenz-api-common >= 0.6.0, < 7",
30+
"frequenz-api-common >= 0.6.1, < 7",
3131
"frequenz-core >= 1.0.0, < 2",
3232
]
3333
dynamic = ["version"]

src/frequenz/client/common/microgrid/components/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,9 @@ class ComponentCategory(enum.Enum):
100100
always less than the input power.
101101
"""
102102

103+
HVAC = PBComponentCategory.COMPONENT_CATEGORY_HVAC
104+
"""A Heating, Ventilation, and Air Conditioning (HVAC) system."""
105+
103106
@classmethod
104107
def from_proto(
105108
cls, component_category: PBComponentCategory.ValueType

0 commit comments

Comments
 (0)