type: vertical-stack
cards:
- type: markdown
content: |
TEST
`script.notify_hub`
- type: horizontal-stack
cards:
- type: button
name: Solo Testo
icon: mdi:message-text-outline
tap_action:
action: call-service
service: script.notify_hub
service_data:
title: Prova solo testo
message: messaggio principale.
- type: button
name: Solo Alexa
icon: mdi:dots-circle
tap_action:
action: call-service
service: script.notify_hub
service_data:
alexa:
message: prova alexa message
- type: button
name: Solo Google
icon: mdi:google-home
tap_action:
action: call-service
service: script.notify_hub
service_data:
google:
message: prova google message
- type: horizontal-stack
cards:
- type: button
name: Prova LINK Format Markdown
tap_action:
action: call-service
service: script.notify_hub
service_data:
message: |
Format MarkDown.
link: '[Google](https://google.it)'
icon: mdi:link
- type: button
name: Prova LINK
tap_action:
action: call-service
service: script.notify_hub
service_data:
message: |
String LINK.
link: https://google.it
icon: mdi:link-box-outline
- type: horizontal-stack
cards:
- type: button
name: Alexa e Google + Message Principale
tap_action:
action: call-service
service: script.notify_hub
service_data:
message: messaggio principale.
google: true
alexa: true
icon: mdi:text-to-speech
- type: horizontal-stack
cards:
- type: button
name: URL solo Foto
tap_action:
action: call-service
service: script.notify_hub
service_data:
image: https://hassiohelp.eu/wp-content/uploads/2019/04/Indice-00.jpg
icon: mdi:image
- type: button
name: URL Foto + Titolo + Messaggio
tap_action:
action: call-service
service: script.notify_hub
service_data:
title: Una foto dal URL a caso :0)
message: Messaggio e titolo come caption
image: >-
https://hassiohelp.eu/wp-content/uploads/2019/04/Assistente-Personale-00-1525x1080.jpg
icon: mdi:image-plus
- type: horizontal-stack
cards:
- type: button
name: FILE solo Foto
tap_action:
action: call-service
service: script.notify_hub
service_data:
file: /config/www/hassiohelp/pkg_natural_events/burze.png
icon: mdi:file-image
- type: button
name: FILE Foto + Titolo + Messaggio
tap_action:
action: call-service
service: script.notify_hub
service_data:
title: Una foto da FILE a caso :0)
message: Messaggio e titolo come caption
file: /config/www/hassiohelp/pkg_natural_events/burze.png
icon: mdi:file-image-plus
- type: horizontal-stack
cards:
- type: button
name: Titolo + Messaggio + Foto URL + Alexa + Google
tap_action:
action: call-service
service: script.notify_hub
service_data:
title: Una foto a caso :0)
message: >-
Mentre ascolti alexa o google, ti ricordo che puoi usare meggase o
message tts sotto google o alexa.
image: >-
https://hassiohelp.eu/wp-content/uploads/2020/11/Notifer-3.0-00-2-2048x1451.jpg
alexa:
message: Puoi usare message o message_tts
google:
message_tts: Puoi usare message o message_tts
show_icon: false
- type: horizontal-stack
cards:
- type: button
name: Alexa solo media player + Message principale
tap_action:
action: call-service
service: script.notify_hub
service_data:
title: Test e alexa senza mess in alexa
message: Messaggio testo più alexa da media player specificato
alexa:
media_player: media_player.studio
show_icon: false
- type: horizontal-stack
cards:
- type: button
name: Google solo media player + Message principale
tap_action:
action: call-service
service: script.notify_hub
service_data:
title: Test e google senza mess in google
message: Messaggio testo più google da media player specificato
google:
media_player: media_player.red
show_icon: false