Hi Bugjam,
Are you able to please add some new entities to the integration for the energy app ?
Home Assistant template sensors for HA Energy Dashboard
Uses source entities from hass-isolarcloud by bugjam
- sensor:
-
name: "Total Ever Solar Power kWh"
unique_id: total_ever_solar_power_kwh
unit_of_measurement: "kWh"
device_class: energy
state_class: total_increasing
state: >
{% set wh = states('sensor.sungrow_produced_energy') | float(0) %}
{{ (wh / 1000) | round(3) }}
-
name: "Total Purchased Energy kWh"
unique_id: total_purchased_energy_kwh
unit_of_measurement: "kWh"
device_class: energy
state_class: total_increasing
state: >
{{ (states('sensor.sungrow_purchased_energy') | float(0) / 1000) | round(3) }}
-
name: "Feed In Energy Total kWh"
unique_id: feed_in_energy_total_kwh
unit_of_measurement: "kWh"
device_class: energy
state_class: total_increasing
state: >
{{ (states('sensor.sungrow_feed_in_energy') | float(0) / 1000) | round(3) }}
-
name: "Solar Production Power"
unique_id: solar_production_power
unit_of_measurement: "W"
device_class: power
state_class: measurement
state: >
{{ states('sensor.sungrow_power_flow') | float(0) }}
Thank you
Hi Bugjam,
Are you able to please add some new entities to the integration for the energy app ?
Home Assistant template sensors for HA Energy Dashboard
Uses source entities from hass-isolarcloud by bugjam
Repo: https://github.com/bugjam/hass-isolarcloud
name: "Total Ever Solar Power kWh"
unique_id: total_ever_solar_power_kwh
unit_of_measurement: "kWh"
device_class: energy
state_class: total_increasing
state: >
{% set wh = states('sensor.sungrow_produced_energy') | float(0) %}
{{ (wh / 1000) | round(3) }}
name: "Total Purchased Energy kWh"
unique_id: total_purchased_energy_kwh
unit_of_measurement: "kWh"
device_class: energy
state_class: total_increasing
state: >
{{ (states('sensor.sungrow_purchased_energy') | float(0) / 1000) | round(3) }}
name: "Feed In Energy Total kWh"
unique_id: feed_in_energy_total_kwh
unit_of_measurement: "kWh"
device_class: energy
state_class: total_increasing
state: >
{{ (states('sensor.sungrow_feed_in_energy') | float(0) / 1000) | round(3) }}
name: "Solar Production Power"
unique_id: solar_production_power
unit_of_measurement: "W"
device_class: power
state_class: measurement
state: >
{{ states('sensor.sungrow_power_flow') | float(0) }}
Thank you