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

[Feature Request]: Separate Battery and Solar yeild #309

Closed
2 tasks done
fredrike opened this issue Feb 28, 2023 · 1 comment
Closed
2 tasks done

[Feature Request]: Separate Battery and Solar yeild #309

fredrike opened this issue Feb 28, 2023 · 1 comment

Comments

@fredrike
Copy link

Describe your feature request

The inverter yield seems to be a combination of battery and solar, it would be great if there were a separate sensor for Solar (Daily yield - Battery daily yield).

In the mean time I'll use the following template:

template:
  - sensor:
      - name: "Solar daily yield"
        unit_of_measurement: "kWh"
        device_class: energy
        unique_id: solar_daily_yield
        icon: mdi:solar-power-variant
        state: >
          {% set battery = states('sensor.battery_day_discharge') | float %}
          {% set inverter = states('sensor.inverter_daily_yield') | float %}

          {{ (inverter - battery) }}

Proper usage

  • I confirm that this is not a bug report
  • I confirm that this feature request is within the stated scope of the integration
@wlcrs
Copy link
Owner

wlcrs commented Feb 28, 2023

Duplicate of #1

@wlcrs wlcrs marked this as a duplicate of #1 Feb 28, 2023
@wlcrs wlcrs closed this as completed Feb 28, 2023
@wlcrs wlcrs mentioned this issue Oct 3, 2024
5 tasks
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