Skip to content

Commit

Permalink
Update to Fox API - Manager 1.57
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanmarlor committed Feb 18, 2023
1 parent bbb4082 commit 9cdb99b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_components/foxess_em/fox/fox_cloud_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,8 @@ def _build_charge_query(self, device_id: str, charge_current: float) -> dict:
"""Build device charge object"""
return {
"id": device_id,
"key": "h111__basic2__00",
"values": {"h111__basic2__00": str(charge_current)},
"key": "h112__basic2__00",
"values": {"h112__basic2__00": str(charge_current)},
}

def _build_min_soc_query(self, device_sn: str, soc: int) -> dict:
Expand Down

0 comments on commit 9cdb99b

Please sign in to comment.