gurbyz / power-wheel-card

An intuitive way to represent the power and energy that your home is consuming or producing. (A custom card for the Lovelace UI of Home Assistant.)
Apache License 2.0
167 stars 22 forks source link

Problem with the power flow #28

Open browetd opened 4 years ago

browetd commented 4 years ago

I have read the wiki about what to try first before creating a bug report.

Which custom card does give you issues? power-wheel-card

Which version of HA do you use? 0.102.2

Which version of the card do you use? 0.0.15

Describe the bug The flow of power when the solar panels are consuming electricity (at night) are not rational to me... I would prefer to have the power consumed by the "house" coming from the grid and the power consumed by the panels coming from the grid as well (and not from the house to the panels as of today) - see screenshot under "expected behaviour" below and a screenshot of the existing flow under "screenshots"....Nevertheless, great job and I really love the card !!! Let me know if I need to provide more details.

Configuration of the card

       - type: custom:power-wheel-card
          title: "Bilan Prod/Conso Electricité Courcelles"
          consuming_color: "red"
          producing_color: "lime"
          solar_power_entity: sensor.smappee_solar_c
          grid_power_entity: sensor.smappee_injected

Dev console debug output Add debug: true to your card parameters. Copy the complete output of the card that is logged to your dev console.

Example: power-wheel-cardVersion: 0.0.10Lovelace resource: power-wheel-card.js?v=0.0.10HA version: 0.87.1Report issues here: ...etc...

Expected behavior desire_state

Screenshots power

Additional context Add any other context about the problem here.

gurbyz commented 4 years ago

I see what you mean. I'll label it a feature request and will have to dive into it later.