File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
custom_components/oig_cloud Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1414 " opentelemetry-exporter-otlp-proto-grpc==1.18.0"
1515 ],
1616 "ssdp" : [],
17- "version" : " 1.0.0-rc1 " ,
17+ "version" : " 1.0.0" ,
1818 "zeroconf" : []
1919}
Original file line number Diff line number Diff line change 1- COMPONENT_VERSION = "1.0.0-rc1 "
1+ COMPONENT_VERSION = "1.0.0"
22SERVICE_NAME = "oig_cloud"
Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ def state(self):
7777 )
7878
7979 if self ._sensor_type == "batt_batt_comp_p" :
80- return float (pv_data ["batt" ]["bat_i" ] * pv_data ["batt" ]["bat_v" ])
80+ return float (pv_data ["batt" ]["bat_i" ] * pv_data ["batt" ]["bat_v" ] * - 1 )
8181
8282 if self ._sensor_type == "dc_in_fv_total" :
8383 return float (pv_data ["dc_in" ]["fv_p1" ] + pv_data ["dc_in" ]["fv_p2" ])
You can’t perform that action at this time.
0 commit comments