Skip to content

Commit

Permalink
1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
hakana committed Jun 4, 2022
1 parent d69ea05 commit 5aa2b9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/shelly/ws_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ async def setup_ws(instance):
websocket_api.async_register_command(hass, shelly_convert)

@websocket_api.async_response
@websocket_api.websocket_command({vol.Required("type"): "s4h/get_config", vol.Required("language"): cv.string})
@websocket_api.websocket_command({vol.Required("type"): "s4h/get_config", vol.Required("language", default="en"): cv.string})
async def shelly_get_config(hass, connection, msg):
app = hass.data[DOMAIN]
resources = await async_get_translations(
Expand Down

0 comments on commit 5aa2b9d

Please sign in to comment.