Compare commits

...
Sign in to create a new pull request.

2 commits

Author SHA1 Message Date
Erik
553cf655c8 Update view_path description 2024-02-08 09:47:37 +01:00
Erik
f131896e60 Fix cast.show_lovelace_view service 2024-02-07 17:27:06 +01:00
3 changed files with 5 additions and 6 deletions

View file

@ -70,7 +70,7 @@ async def async_setup_ha_cast(
SIGNAL_HASS_CAST_SHOW_VIEW,
controller,
call.data[ATTR_ENTITY_ID],
call.data[ATTR_VIEW_PATH],
call.data.get(ATTR_VIEW_PATH),
call.data.get(ATTR_URL_PATH),
)

View file

@ -7,7 +7,6 @@ show_lovelace_view:
integration: cast
domain: media_player
dashboard_path:
required: true
example: lovelace-cast
selector:
text:

View file

@ -51,12 +51,12 @@
"description": "Media player entity to show the dashboard view on."
},
"dashboard_path": {
"name": "Dashboard path",
"description": "The URL path of the dashboard to show."
"name": "Dashboard",
"description": "The dashboard to show, for example 'energy' or 'lovelace'. If not specified, the default dashboard will be shown."
},
"view_path": {
"name": "View path",
"description": "The path of the dashboard view to show."
"name": "View",
"description": "The view to show, for example 'home' for a view with a specified URL or '0' for view without a specified URL. If not specified, the dashboard's default view will be shown."
}
}
}