Skip to content

Commit eb95795

Browse files
committed
add flow sensor
1 parent 80f9667 commit eb95795

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

zha/application/platforms/model.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ class GenericState(BaseModel):
136136
"DanfossPreheatTime",
137137
"DanfossSoftwareErrorCode",
138138
"DanfossMotorStepCounter",
139+
"Flow",
139140
]
140141
available: bool | None = None
141142
state: str | bool | int | float | datetime | None = None

zha/application/platforms/sensor/model.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ class SensorEntityInfo(BaseSensorEntityInfo):
116116
"DanfossPreheatTime",
117117
"DanfossSoftwareErrorCode",
118118
"DanfossMotorStepCounter",
119+
"Flow",
119120
]
120121
state: GenericState
121122
device_class: SensorDeviceClass | None = None

0 commit comments

Comments
 (0)