Open KeithoHimself opened 6 months ago
Hey there @farmio, mind taking a look at this feedback as it has been labeled with an integration (fronius
) you are listed as a code owner for? Thanks!
Hi 👋! Afaik, an integration shall provide entities based on API responses. It shall not provide calculated entities.
Looking at https://www.home-assistant.io/integrations/fronius/#consumption-path-meter I do see pre-built template code that can be copy&pasted ready for use (except for entity_id language).
If you think this is not comprehensive, keep in mind, this is a community project - you are invited to add to the documentation to make it more clear. If you do, you might want to have a look at https://github.com/home-assistant/home-assistant.io/pull/22320
Here is a pretty good resource highlighting the difficulties different systems may encounter based on the setup https://community.home-assistant.io/t/howto-fronius-integration-with-battery-into-energy-dashboard/376329
Thank you for the links! Looking at my original post I see that I was overly critical and I apologize for that. I'll look over the information you provided and I'll consider contributing based on my findings.
Would be possible though have a mean to install the premade derived sensors? Having to redo that manually for each setup is error prone.
Would be possible though have a mean to install the premade derived sensors?
It depend if the device or service integrated provides that information.
https://github.com/home-assistant/core/pull/116535 would already be a nice step towards a more user friendly Fronius integration. Not 100% sure if it is ok in Core though.
Potentially another way is to overhaul the energy dashboard to take in energy and/or power and take in positive-negative range inputs like https://github.com/flixlix/power-flow-card-plus does.
Potentially another way is to overhaul the energy dashboard to take in energy and/or power and take in positive-negative range inputs like flixlix/power-flow-card-plus does.
That is about frontend, not related to this conversation.
Feedback
The documentation is sparse and assumes deep knowledge of Home Assistant. The use of templates and helpers appears mandatory for folks that have a CCS WattNode meter in the consumption path. The following is off-topic in terms of documentation feedback, but how hard would it be to simply be able to indicate what path the meter is in and have the math done automatically?
No examples of pre-built templates for dealing with consumption path in the documentation, which would be helpful.
URL
https://www.home-assistant.io/integrations/fronius/
Version
2024.3.0
Additional information
No response