tijsverkoyen / HomeAssistant-FusionSolar

Integrate FusionSolar into your Home Assistant.
MIT License
133 stars 25 forks source link

Efficiency graph in bar chart #86

Closed kzajac83 closed 1 year ago

kzajac83 commented 1 year ago

Hello.

I made integration with inverter via Huawei API and all seems working fine expect visualisation results and efficiency in percents.

Can you please change efficienty from bar style to normal graphs like current, voltage or Hz? My view is:

image

Make zoon in time this looks like that - it is not user friendly to read:

image

My inverter is SUN2000-8KTL-M1

tijsverkoyen commented 1 year ago

This is a visualisation done by Home Assistant for the entity. I think you can add it to your dashboard with a line graph.

kzajac83 commented 1 year ago

I'm quite new user so sorry for addressing topic to wrong queue however what decide type of graphics? Mayby some parameter of entities created under integration decide of it?

PS. On quick cannot change for UI, will try search solution in HA team

image

tijsverkoyen commented 1 year ago

You can add a Sensor Card to your dashboard and it will show a graph: graph You need to edit your dashboard and add a Sensor Card, you can select the Inverter efficiency % (manufacturer) entity.

But! you are right. It should be possible to instruct Home Assistant to show a line graph instead. I will look into that.

kzajac83 commented 1 year ago

General is because there is no unit of measure, not sure have looks like variables but if % is intepreted as specail char has been can be interpeter wrong and this is reasin why missing UoM and HA interpreted it as string value. Can you somehow add UoM ??

tijsverkoyen commented 1 year ago

I know, you are right. I'm working on the fix at the moment. Will do a release later today.

tijsverkoyen commented 1 year ago

Pull Request is ready: https://github.com/tijsverkoyen/HomeAssistant-FusionSolar/pull/88 Releasing in a few moments.

kzajac83 commented 1 year ago

Is working, thank you for fix