Skip to content
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.

Commit

Permalink
Anzahl der Nachkommastellen korrigiert
Browse files Browse the repository at this point in the history
Geladene Energie (LPx) (gesamt) hat nur eine Nachkommastelle ausgegeben.
Dies wurde auf 2 Stellen geändert.
  • Loading branch information
ChristophCaina authored Oct 16, 2022
1 parent c8db11a commit 0f8e936
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/openwbmqtt/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ class openWBNumberEntityDescription(NumberEntityDescription):
native_unit_of_measurement=ENERGY_KILO_WATT_HOUR,
state_class=SensorStateClass.TOTAL_INCREASING,
icon="mdi:counter",
value_fn=lambda x: round(float(x), 1),
value_fn=lambda x: round(float(x), 2),
),
openwbSensorEntityDescription(
key="countPhasesInUse",
Expand Down

0 comments on commit 0f8e936

Please sign in to comment.