From 668574c48f99041ec56d626cc856b167f39dedb1 Mon Sep 17 00:00:00 2001 From: Raman Gupta <7243222+raman325@users.noreply.github.com> Date: Mon, 22 Feb 2021 13:31:18 -0500 Subject: [PATCH] Add name and target filter to vizio entity service (#46916) * Add name and target filter to vizio entity service * Update homeassistant/components/vizio/services.yaml Co-authored-by: Franck Nijhof * add selectors * Update homeassistant/components/vizio/services.yaml Co-authored-by: Franck Nijhof * Update homeassistant/components/vizio/services.yaml Co-authored-by: Franck Nijhof * Update homeassistant/components/vizio/services.yaml Co-authored-by: Franck Nijhof Co-authored-by: Franck Nijhof --- homeassistant/components/vizio/services.yaml | 28 +++++++++++++++----- 1 file changed, 21 insertions(+), 7 deletions(-) diff --git a/homeassistant/components/vizio/services.yaml b/homeassistant/components/vizio/services.yaml index 50bde6cab78..a2981fa32ad 100644 --- a/homeassistant/components/vizio/services.yaml +++ b/homeassistant/components/vizio/services.yaml @@ -1,15 +1,29 @@ update_setting: - description: Update the value of a setting on a particular Vizio media player device. + name: Update a Vizio media player setting + description: Update the value of a setting on a Vizio media player device. + target: + entity: + integration: vizio + domain: media_player fields: - entity_id: - description: Name of an entity to send command to. - example: "media_player.vizio_smartcast" setting_type: - description: The type of setting to be changed. Available types are listed in the `setting_types` property. + name: Setting type + description: The type of setting to be changed. Available types are listed in the 'setting_types' property. + required: true example: "audio" + selector: + text: setting_name: - description: The name of the setting to be changed. Available settings for a given setting_type are listed in the `_settings` property. + name: Setting name + description: The name of the setting to be changed. Available settings for a given setting_type are listed in the '_settings' property. + required: true example: "eq" + selector: + text: new_value: - description: The new value for the setting + name: New value + description: The new value for the setting. + required: true example: "Music" + selector: + text: