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

Commit

Permalink
Merge pull request #10 from 0rTiN/patch-1
Browse files Browse the repository at this point in the history
Corrected SoC key definition
  • Loading branch information
a529987659852 authored Sep 29, 2021
2 parents 41234f9 + 24d0f80 commit 2a42622
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 @@ -130,7 +130,7 @@ class openwbSensorEntityDescription(SensorEntityDescription):
valueMap={1: True, 0: False},
),
openwbSensorEntityDescription(
key="%SoC",
key="%Soc",
name="% SoC",
device_class=DEVICE_CLASS_BATTERY,
native_unit_of_measurement=PERCENTAGE,
Expand Down

0 comments on commit 2a42622

Please sign in to comment.