From 70be0561d020e9bc8bb7389e3fcdb33bd211af64 Mon Sep 17 00:00:00 2001 From: tkdrob Date: Mon, 26 Apr 2021 08:29:38 -0400 Subject: [PATCH] Add selectors to cast services (#49684) --- homeassistant/components/cast/services.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/homeassistant/components/cast/services.yaml b/homeassistant/components/cast/services.yaml index 8e4466c349c..9b2b0a739b0 100644 --- a/homeassistant/components/cast/services.yaml +++ b/homeassistant/components/cast/services.yaml @@ -1,12 +1,26 @@ show_lovelace_view: + name: Show lovelace view description: Show a Lovelace view on a Chromecast. fields: entity_id: + name: Entity description: Media Player entity to show the Lovelace view on. + required: true example: "media_player.kitchen" + selector: + entity: + integration: cast + domain: media_player dashboard_path: + name: Dashboard path description: The URL path of the Lovelace dashboard to show. + required: true example: lovelace-cast + selector: + text: view_path: + name: View Path description: The path of the Lovelace view to show. example: downstairs + selector: + text: