DeerMaximum / Technische-Alternative-CoE

Custom Home Assistant integration to read data from a C.M.I. via CoE
MIT License
11 stars 2 forks source link

CoP decimals wrong and unit "unknown" #26

Closed Guenni9 closed 1 year ago

Guenni9 commented 1 year ago

Dear @DeerMaximum,

I found out, if using the unit CoP "Arbeitszahl", decimals are factor 100 and the unit is "unknown": image image image

Is there a way to fix this? Thank you, have a nice day! Günter

Guenni9 commented 1 year ago

Fyi: The Unit-ID used in the json-API for CoP is 24..

image

Just checked with the API-call, logging the "Arbeitszahl" as output 6 by test..

{ "Number":6, "AD":"A", "Value":{ "Value":4.21, "Unit":"24" }

DeerMaximum commented 1 year ago

Can you please test with the server version 1.1.4 and the latest beta of the integration (1.2.0b2) if the bug is fixed.

Guenni9 commented 1 year ago

Testet and works absolutely perfect! Thank you @DeerMaximum