Skip to content

Commit

Permalink
Merge pull request #36 from Tazmanian79/patch-1
Browse files Browse the repository at this point in the history
Update sensor.py
  • Loading branch information
barleybobs authored Dec 9, 2023
2 parents 132c39a + 467c2a6 commit d5a8565
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_components/ecowater_softener/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class EcowaterSensorEntityDescription(SensorEntityDescription):
name="Water Available",
icon="mdi:water",
device_class=SensorDeviceClass.WATER,
state_class=SensorStateClass.MEASUREMENT,
state_class=SensorStateClass.TOTAL,
),
EcowaterSensorEntityDescription(
key=WATER_USAGE_TODAY,
Expand Down Expand Up @@ -156,4 +156,4 @@ def device_info(self) -> DeviceInfo:
identifiers={(DOMAIN, self._serialnumber)},
name="Ecowater " + self._serialnumber,
manufacturer="Ecowater",
)
)

0 comments on commit d5a8565

Please sign in to comment.