# E3DC binding strange unit for powerplant battery soc thing

**URL:** <https://community.openhab.org/t/e3dc-binding-strange-unit-for-powerplant-battery-soc-thing/149480>\
**Category:** Bindings\
**Tags:** e3dc\
**Created:** [September 10, 2023, 10:56am UTC](https://community.openhab.org/t/e3dc-binding-strange-unit-for-powerplant-battery-soc-thing/149480 "2023-09-10T10:56:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rhierlmeier](https://community.openhab.org/user_avatar/community.openhab.org/rhierlmeier/32/65156_2.png) [@rhierlmeier](https://community.openhab.org/u/rhierlmeier)\
**Post date:** [September 10, 2023, 10:56am UTC](https://community.openhab.org/t/e3dc-binding-strange-unit-for-powerplant-battery-soc-thing/149480/1 "2023-09-10T10:56:02Z")

</div>

After upgrading from OH3 to OH4 the channel battery-soc of the E3DC powerplant thing has a string unit (1 one). It is no longer formatted in percent.

 ![grafik](https://community-openhab-org.s3.dualstack.eu-central-1.amazonaws.com/original/3X/0/5/05e5579f6601dd6985a20d244f1a05872d0b7543.png)

I this a bug or is an migration for the E3DC binding necessary?

---

<div class="post-metadata">

**Author:** ![weymann](https://community.openhab.org/user_avatar/community.openhab.org/weymann/32/90673_2.png) [@weymann](https://community.openhab.org/u/weymann)\
**Post date:** [September 12, 2023, 7:55pm UTC](https://community.openhab.org/t/e3dc-binding-strange-unit-for-powerplant-battery-soc-thing/149480/2 "2023-09-12T19:55:02Z")

</div>

No, binding is fine.

Note there’s a major change in handling units and `Percent` is such a unit.

> **[Release openHAB 4.0.0 Milestone 3 · openhab/openhab-distro](https://github.com/openhab/openhab-distro/releases/tag/4.0.0.M3)**
>
> This is a monthly milestone build for the upcoming openHAB 4.0 release, which brings many fixes and improvements.
> 
>    
>   
>  
> Please read the following information carefully BEFORE starting the upgra...

You’ll find similar discussions [here](https://community.openhab.org/t/oh-4-units/148410) and [here](https://community.openhab.org/t/humidity-items-units-format-changed-after-oh4-upgrade/147130)

---

<div class="post-metadata">

**Author:** ![weymann](https://community.openhab.org/user_avatar/community.openhab.org/weymann/32/90673_2.png) [@weymann](https://community.openhab.org/u/weymann)\
**Post date:** [October 2, 2023, 6:40pm UTC](https://community.openhab.org/t/e3dc-binding-strange-unit-for-powerplant-battery-soc-thing/149480/3 "2023-10-02T18:40:23Z")

</div>

Update:  
Binding will be updated with standard display of channels `autarky`,` self-consumption` and `battery-soc` with Percent =\> [[e3dc] State pattern with Percent as default for QuantityType:Dimensionless by weymann · Pull Request #15691 · openhab/openhab-addons · GitHub](https://github.com/openhab/openhab-addons/pull/15691)
