From: Giorgio Ravera Date: Thu, 6 Jun 2019 09:27:30 +0000 (+0200) Subject: Review Voice Scripts X-Git-Url: http://git.giorgioravera.it/?a=commitdiff_plain;h=8836a00e2b787f77c44c974ae8980b96ef287feb;p=homeassistant.git Review Voice Scripts --- 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