Skip to content

Commit

Permalink
Merge pull request #10 from toruonu/main
Browse files Browse the repository at this point in the history
Valetpidi vool / power akust fixed
  • Loading branch information
tanelvakker authored Jan 20, 2025
2 parents f8e1dc8 + c663607 commit d9d5ab1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_components/qilowatt/inverter/solarman.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ def get_metrics_data(self):
alarm_codes = [0, 0, 0, 0, 0, 0] # As per payload
battery_soc = self.get_state_int("_battery")
load_current = [0.0, 0.0, 0.0] # As per payload
battery_power = [self.get_state_float("battery_power")]
battery_current = [self.get_state_float("battery_current")]
battery_power = [-1 * self.get_state_float("battery_power")]
battery_current = [-1 * self.get_state_float("battery_current")]
battery_voltage = [self.get_state_float("battery_voltage")]
inverter_status = 2 # As per payload
grid_export_limit = self.get_state_float("pv_max_power")
Expand Down

0 comments on commit d9d5ab1

Please sign in to comment.