Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

arrows from grid wrong direction #63

Open
prspyder opened this issue Oct 23, 2024 · 2 comments
Open

arrows from grid wrong direction #63

prspyder opened this issue Oct 23, 2024 · 2 comments

Comments

@prspyder
Copy link

Hi so I dont know if by default is like this but if I'm exporting power to the grid arrows should be pointed at the other direction and it seems mine is working backwards.

exporting 2
exporting

@prspyder
Copy link
Author

I created a helper to produce inverter readings for it work correctly like this sensor:

  • platform: template
    sensors:
    inverted_grid_power:
    friendly_name: "Inverted Grid Power"
    value_template: "{{ states('sensor.grid_power') | float * -1 }}"
    unit_of_measurement: "W"

@danielraffel
Copy link

I haven't experienced this since I am not exporting power yet (tho it does occasionally seem to push tiny amounts and the arrows appear to be correct.) For the sake of others who might stumble on this issue can you share the helper and anything else you had to do? I presume the configuration.yaml change might be something like:

template:
  - sensor:
      - name: "Inverted Grid Power"
        state: >
          {{ states('sensor.grid_power') | float * -1 }}
        unit_of_measurement: "W"
        unique_id: "inverted_grid_power"
        icon: "mdi:power-plug-off"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants