Skip to content

Commit

Permalink
Fix incorrect entity used for solar generation.
Browse files Browse the repository at this point in the history
Update #102
  • Loading branch information
dannytsang committed May 13, 2024
1 parent 0c1c4e9 commit fef120f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/integrations/energy/energy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ intent_script:
getSolarForecastLeft:
speech:
text: >-
{{ (states('sensor.total_solar_forecast_estimated_energy_production_today')|float(0) - states('sensor.growatt_solar_generated_energy_today')|float(0))|round(2) }}
{{ (states('sensor.total_solar_forecast_estimated_energy_production_today')|float(0) - states('sensor.growatt_sph_pv_energy')|float(0))|round(2) }}
{{ state_attr('sensor.growatt_solar_generated_energy_today', 'unit_of_measurement') }} remaining.
getSolarForecastToday:
speech:
Expand Down

0 comments on commit fef120f

Please sign in to comment.