Skip to content

Commit

Permalink
fix navigation schema validation
Browse files Browse the repository at this point in the history
  • Loading branch information
elad-bar committed Aug 4, 2024
1 parent fd09832 commit 77e2476
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## v1.0.20

- Fix navigation service schema [#223](https://github.com/sh00t2kill/dolphin-robot/issues/223)

## v1.0.19

- Adjust vacuum state to HA v2025.1 standard and support docked, cleaning, returning (cleaning + pickup mode) and error
Expand Down
2 changes: 1 addition & 1 deletion custom_components/mydolphin_plus/common/service_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
SERVICE_DELAYED_CLEAN = "delayed_clean"

SERVICE_SCHEMA_NAVIGATE = vol.Schema(
{vol.Required(CONF_DIRECTION): vol.In([JOYSTICK_DIRECTIONS])}
{vol.Required(CONF_DIRECTION): vol.In(JOYSTICK_DIRECTIONS)}
)

SERVICE_SCHEMA_DAILY_SCHEDULE = vol.Schema(
Expand Down
2 changes: 1 addition & 1 deletion custom_components/mydolphin_plus/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
"iot_class": "cloud_push",
"issue_tracker": "https://github.com/sh00t2kill/dolphin-robot/issues",
"requirements": ["awsiotsdk"],
"version": "1.0.19"
"version": "1.0.20"
}

0 comments on commit 77e2476

Please # to comment.