Skip to content

Commit

Permalink
fix function call
Browse files Browse the repository at this point in the history
  • Loading branch information
firstof9 committed Dec 20, 2023
1 parent 2839fcb commit 4cd7491
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion custom_components/openevse/services.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ async def _set_limit(self, service: ServiceCall) -> None:
response = await manager.set_limit(
limit_type=limit_type,
value=value,
auto_release=auto_release,
release=auto_release,
)
_LOGGER.debug("Set Limit response: %s", response)

Expand Down
2 changes: 1 addition & 1 deletion custom_components/openevse/services.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ set_limit:
device:
integration: openevse
fields:
limit_type:
type:
name: Limit type
description: 'Limit type: time (minutes), energy (watts/h), soc (%), range (km or miles).'
required: true
Expand Down

0 comments on commit 4cd7491

Please sign in to comment.