mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 23:36:51 +00:00
Quotes needed in templates for sensor names (#29832)
This commit is contained in:
parent
5cba0d4690
commit
a39daa8986
@ -93,7 +93,7 @@ Recommended energy dashboard configuration for meter location in feed in path:
|
||||
|
||||
Recommended energy dashboard configuration for meter location in consumption path:
|
||||
|
||||
- The `Power grid` entity provided by the Fronius API is positive on import and negative on export. Split it up into import- and export-power entities by using helpers with templates `max(states(sensor.solarnet_power_grid) | float, 0)` and `max(0 - states(sensor.solarnet_power_grid) | float, 0)`.
|
||||
- The `Power grid` entity provided by the Fronius API is positive on import and negative on export. Split it up into import- and export-power entities by using helpers with templates `max(states('sensor.solarnet_power_grid') | float, 0)` and `max(0 - states('sensor.solarnet_power_grid') | float, 0)`.
|
||||
- Then use [Riemann sum](/integrations/integration/) to integrate these import-/export-power entities into energy values (kWh).
|
||||
- Use these energy entities for `Grid consumption` and `Return to grid` in the energy dashboard configuration.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user