Skip to content

Commit

Permalink
1.09-x - tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
brettonw committed Sep 13, 2022
1 parent fec4de2 commit f4e5b5d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion custom_components/apex/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def set_variable(hass, service, coordinator):

def set_dos_rate(hass, service, coordinator):
did = service.data.get("did").strip()
profile_id = int(service.data.get("pid"))
profile_id = int(service.data.get("profile_id"))
rate = float(service.data.get("rate"))
status = coordinator.apex.set_dos_rate(did, profile_id, rate)
if status["error"] != "":
Expand Down
4 changes: 2 additions & 2 deletions custom_components/apex/services.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ set_dos_rate:
example: "4_1"
selector:
text:
pid:
profile_id:
name: Profile ID
description: "Profile ID assign to the DOS pump, the integration will name it appropriately"
description: "Profile ID to assign to the DOS pump, the integration will rename it appropriately."
example: 11
selector:
text:
Expand Down

0 comments on commit f4e5b5d

Please sign in to comment.