Dienste, Automationen & Lovelace-Karten

Aktionsdienste (vidaa.*), copy-paste YAML-Automationen und Lovelace-Fernbedienungskarten für 12 Apps.

Benutzerdefinierte Aktionsdienste (`vidaa.*`)

The integration exposes specialized Startseite Assistant action services for automations, scripts, and dashboard button cards. These actions execute over the existing authenticated mutual TLS MQTT connection rather than generic Startseite Assistant MQTT.

⚡ Aktionsdienste-Referenz

1. vidaa.launch_app

Launch an installed Smart TV application by name, app ID, or video deep-link URL:

YAML
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:

YAML
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:

YAML
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:

YAML
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:

YAML
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:

YAML
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):

YAML
action: vidaa.send_text_input
target:
  entity_id: remote.living_room_tv_remote
data:
  text: "Startseite Assistant Smart Startseite"

🤖 Beispiel-Automationen in YAML

1. Movie Night Automation

Powers on TV, sets picture mode to Cinema Night, dims living room lights, and launches Netflix:

YAML
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:

YAML
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"

📱 Lovelace-Fernbedienungskarten

Create a beautiful Australian 12-App remote card (EN2G30H layout) using standard Startseite Assistant Button Cards:

YAML
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