From 8836a00e2b787f77c44c974ae8980b96ef287feb Mon Sep 17 00:00:00 2001 From: Giorgio Ravera Date: Thu, 6 Jun 2019 11:27:30 +0200 Subject: [PATCH] Review Voice Scripts --- script/audio.yaml | 2 ++ ui-lovelace.yaml | 28 ++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+) diff --git a/script/audio.yaml b/script/audio.yaml index d37425c9..9fe24035 100644 --- a/script/audio.yaml +++ b/script/audio.yaml @@ -3,6 +3,8 @@ # Inputs: # - type: # 1 -> bell'affare +# 2 -> belan +# 3 -> una schifezza # # Operations: # - script.volume_manager diff --git a/ui-lovelace.yaml b/ui-lovelace.yaml index 1d8a34fb..52ad1e5b 100644 --- a/ui-lovelace.yaml +++ b/ui-lovelace.yaml @@ -305,6 +305,34 @@ views: service: script.turn_on service_data: entity_id: script.laura_voice + data: + variables: + type: '1' + - type: entity-button + name: Belan + icon: mdi:numeric-2 + entity: script.laura_voice + tap_action: + action: call-service + service: script.turn_on + service_data: + entity_id: script.laura_voice + data: + variables: + type: '2' + - type: entity-button + name: Schifezza + icon: mdi:numeric-3 + entity: script.laura_voice + tap_action: + action: call-service + service: script.turn_on + service_data: + entity_id: script.laura_voice + data: + variables: + type: '3' + ###################################################################### # People -- 2.47.3