Skip to content

Commit

Permalink
Fix energy sensor for ThirdReality Matter powerplug (#125140)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelveldt committed Sep 3, 2024
1 parent 334359b commit fd01e22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion homeassistant/components/matter/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ def _update_from_device(self) -> None:
key="ThirdRealityEnergySensorWattAccumulated",
device_class=SensorDeviceClass.ENERGY,
entity_category=EntityCategory.DIAGNOSTIC,
native_unit_of_measurement=UnitOfEnergy.KILO_WATT_HOUR,
native_unit_of_measurement=UnitOfEnergy.WATT_HOUR,
suggested_display_precision=3,
state_class=SensorStateClass.TOTAL_INCREASING,
measurement_to_ha=lambda x: x / 1000,
Expand Down

0 comments on commit fd01e22

Please sign in to comment.