Skip to content

Commit 5ae1a4b

Browse files
Fix error with pv_forecast_h0 units (#2662)
1 parent 0a2780b commit 5ae1a4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/predbat/solcast.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -564,7 +564,7 @@ def publish_pv_stats(self, pv_forecast_data, divide_by, period):
564564
attributes={
565565
"friendly_name": "PV Forecast Now",
566566
"state_class": "measurement",
567-
"unit_of_measurement": "W",
567+
"unit_of_measurement": "kWh",
568568
"icon": "mdi:solar-power",
569569
"device_class": "power",
570570
"now10": dp2(power_now10),

0 commit comments

Comments
 (0)