Servizi, automazioni e schede Lovelace
Servizi di azione (vidaa.*), ricette di automazione YAML pronte e schede telecomando Lovelace.
The integration exposes specialized Home Assistant action services for automations, scripts, and dashboard button cards. These actions execute over the existing authenticated mutual TLS MQTT connection rather than generic Home Assistant MQTT.
⚡ Riferimento dei servizi di azione
1. vidaa.launch_app
Launch an installed Smart TV application by name, app ID, or video deep-link URL:
action: vidaa.launch_app
target:
entity_id: media_player.living_room_tv
data:
app: "Netflix" # Options: Netflix, YouTube, Prime Video, Disney+, Plex, Stan, etc.
Deep-link directly into a specific YouTube video:
action: vidaa.launch_app
target:
entity_id: media_player.living_room_tv
data:
app: "YouTube"
app_id: "3"
app_name: "YouTube"
url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
2. vidaa.send_key
Send single key commands with optional burst repeat counts and inter-key delays:
action: vidaa.send_key
target:
entity_id: remote.living_room_tv_remote
data:
key: "home" # Supports: home, menu, back, ok, up, down, left, right, volume_up, volume_down
repeats: 1
delay: 0.15
3. vidaa.send_key_sequence
Dispatch complex multi-step navigation sequences with precise delays between keypresses:
action: vidaa.send_key_sequence
target:
entity_id: remote.living_room_tv_remote
data:
sequence:
- "home"
- "right"
- "right"
- "ok"
delay: 0.35 # Pause between each step in seconds
4. vidaa.change_channel
Tune directly to numeric live TV channels without manually stepping through the guide:
action: vidaa.change_channel
target:
entity_id: media_player.living_room_tv
data:
channel: "70" # Numeric digits (e.g. 7, 70, 7.1)
digit_delay: 0.25 # Delay between individual digits
5. vidaa.set_picture_setting & vidaa.set_sound_setting
Directly adjust picture modes or audio equalizer presets:
action: vidaa.set_picture_setting
target:
entity_id: media_player.living_room_tv
data:
picture_mode: "Cinema Night" # Standard, Cinema Day, Cinema Night, Dynamic, Sports, Game, Filmmaker Mode
action: vidaa.set_sound_setting
target:
entity_id: media_player.living_room_tv
data:
sound_mode: "Theatre" # Standard, Theatre, Music, Speech, Late Night, Sports
6. vidaa.send_text_input
Inject text strings directly into active on-screen search bars (e.g. YouTube search or web browser input):
action: vidaa.send_text_input
target:
entity_id: remote.living_room_tv_remote
data:
text: "Home Assistant Smart Home"
🤖 Esempi di automazioni YAML
1. Movie Night Automation
Powers on TV, sets picture mode to Cinema Night, dims living room lights, and launches Netflix:
alias: "Movie Night: Start Cinema Experience"
trigger:
- platform: state
entity_id: input_boolean.movie_mode
to: "on"
action:
- action: media_player.turn_on
target:
entity_id: media_player.living_room_tv
- delay: "00:00:03"
- action: vidaa.set_picture_setting
target:
entity_id: media_player.living_room_tv
data:
picture_mode: "Cinema Night"
- action: vidaa.launch_app
target:
entity_id: media_player.living_room_tv
data:
app: "Netflix"
- action: light.turn_on
target:
entity_id: light.living_room_lights
data:
brightness_pct: 15
transition: 4
2. Pluggable Turn-On Automation (Smart Plug Fallback)
Intercepts turn_on when the TV is in deep eco-standby without WoL support:
alias: "Living Room TV: Pluggable Power On Trigger"
trigger:
- platform: device
device_id: YOUR_VIDAA_TV_DEVICE_ID
domain: vidaa
type: turn_on
action:
- action: switch.turn_on
target:
entity_id: switch.tv_smart_plug_relay
- delay: "00:00:02"
- action: remote.send_command
target:
entity_id: remote.living_room_tv_remote
data:
command: "power"
📱 Schede telecomando Lovelace per dashboard
Create a beautiful Australian 12-App remote card (EN2G30H layout) using standard Home Assistant Button Cards:
type: vertical-stack
cards:
- type: media-control
entity: media_player.living_room_tv
- type: grid
columns: 3
square: false
cards:
- type: button
name: Netflix
icon: mdi:netflix
tap_action:
action: call-service
service: vidaa.launch_app
service_data:
entity_id: media_player.living_room_tv
app: Netflix
- type: button
name: YouTube
icon: mdi:youtube
tap_action:
action: call-service
service: vidaa.launch_app
service_data:
entity_id: media_player.living_room_tv
app: YouTube
- type: button
name: Prime Video
icon: mdi:amazon
tap_action:
action: call-service
service: vidaa.launch_app
service_data:
entity_id: media_player.living_room_tv
app: Prime Video
- type: button
name: Disney+
icon: mdi:movie-open
tap_action:
action: call-service
service: vidaa.launch_app
service_data:
entity_id: media_player.living_room_tv
app: Disney+
- type: button
name: Stan
icon: mdi:television-classic
tap_action:
action: call-service
service: vidaa.launch_app
service_data:
entity_id: media_player.living_room_tv
app: Stan
- type: button
name: ABC iview
icon: mdi:play-box
tap_action:
action: call-service
service: vidaa.launch_app
service_data:
entity_id: media_player.living_room_tv
app: ABC iview