Skip to content

Commit

Permalink
Fix service select_picture_mode no longer works (issue #184)
Browse files Browse the repository at this point in the history
  • Loading branch information
ollo69 committed Oct 5, 2022
1 parent 72696b2 commit 0daffac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion custom_components/samsungtv_smart/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@
"codeowners": ["@jaruba", "@ollo69", "@screwdgeh"],
"config_flow": true,
"iot_class": "cloud_polling",
"version": "0.7.7"
"version": "0.7.8"
}
2 changes: 1 addition & 1 deletion custom_components/samsungtv_smart/media_player.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ def update_token_func(token: str) -> None:
platform = entity_platform.current_platform.get()
platform.async_register_entity_service(
SERVICE_SELECT_PICTURE_MODE,
vol.Schema({vol.Required(ATTR_PICTURE_MODE): cv.string}),
{vol.Required(ATTR_PICTURE_MODE): cv.string},
"async_select_picture_mode",
)
platform.async_register_entity_service(
Expand Down

0 comments on commit 0daffac

Please sign in to comment.