Skip to content

Commit

Permalink
Make sure current is an integer
Browse files Browse the repository at this point in the history
  • Loading branch information
magico13 committed Nov 5, 2023
1 parent 9193845 commit 295fbe0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions custom_components/emporia_vue/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ async def handle_set_charger_current(call):
str(call.data),
)
current = call.data.get("current")
current = int(current)
device_id = call.data.get("device_id", None)
entity_id = call.data.get("entity_id", None)

Expand Down

0 comments on commit 295fbe0

Please sign in to comment.