Skip to content

Commit

Permalink
Merge pull request #5 from krahabb/dev
Browse files Browse the repository at this point in the history
fix entity service parameters call
  • Loading branch information
krahabb authored Sep 12, 2024
2 parents 8dac5d8 + ccbab4a commit 980e093
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions custom_components/motion_frontend/camera.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,17 +47,17 @@

SERVICE_KEY_PARAM = "param"
SERVICE_KEY_VALUE = "value"
CAMERA_SERVICES = (
CAMERA_SERVICES: tuple[tuple[str,dict, str],...] = (
(
"config_set",
vol.Schema({
{
vol.Required(SERVICE_KEY_PARAM): str,
vol.Required(SERVICE_KEY_VALUE): str,
}),
},
"async_config_set",
),
("makemovie", vol.Schema({}), "async_makemovie"),
("snapshot", vol.Schema({}), "async_snapshot"),
("makemovie", {}, "async_makemovie"),
("snapshot", {}, "async_snapshot"),
)


Expand Down

0 comments on commit 980e093

Please sign in to comment.