Kodi Remote

Small update to include some Kodi window navigation shortcuts thanks to stefanos. Details here: https://community.home-assistant.io/t/kodi-tv-series-button/399204/3?u=tom_l

Additional scripts (not all used in the card):

lounge_kodi_window_albums:
  sequence:
    service: kodi.call_method
    target:
      entity_id: media_player.lounge_osmc_kodi
    data:
      method: GUI.ActivateWindow
      window: music
      parameters:
        - Albums

lounge_kodi_window_artists:
  sequence:
    service: kodi.call_method
    target:
      entity_id: media_player.lounge_osmc_kodi
    data:
      method: GUI.ActivateWindow
      window: music
      parameters:
        - Artists

lounge_kodi_window_movies:
  sequence:
    service: kodi.call_method
    target:
      entity_id: media_player.lounge_osmc_kodi
    data:
      method: GUI.ActivateWindow
      window: videos
      parameters:
        - MovieTitles

lounge_kodi_window_recent_movies:
  sequence:
    service: kodi.call_method
    target:
      entity_id: media_player.lounge_osmc_kodi
    data:
      method: GUI.ActivateWindow
      window: videos
      parameters:
        - RecentlyAddedMovies

lounge_kodi_window_recent_tv_shows:
  sequence:
    service: kodi.call_method
    target:
      entity_id: media_player.lounge_osmc_kodi
    data:
      method: GUI.ActivateWindow
      window: videos
      parameters:
        - RecentlyAddedEpisodes

lounge_kodi_window_tv_shows:
  sequence:
    service: kodi.call_method
    target:
      entity_id: media_player.lounge_osmc_kodi
    data:
      method: GUI.ActivateWindow
      window: videos
      parameters:
        - TvshowTitles

New card layout:

entities:
  - card_type: horizontal-stack
    cards:
      - entity: script.lounge_kodi_input_home
        icon: mdi:home
        name: Home
        tap_action:
          service: script.lounge_kodi_input_home
        template: icon_button
        type: custom:button-card
      - entity: script.lounge_kodi_window_recent_movies
        icon: mdi:movie-open-star
        name: New Movies
        tap_action:
          service: script.lounge_kodi_window_recent_movies
        template: menu_button
        type: custom:button-card
      - entity: script.lounge_kodi_window_recent_tv_shows
        icon: mdi:television-shimmer
        name: New TV
        tap_action:
          service: script.lounge_kodi_window_recent_tv_shows
        template: menu_button
        type: custom:button-card
      - entity: script.lounge_kodi_window_albums
        icon: mdi:music-box
        name: Albums
        tap_action:
          service: script.lounge_kodi_window_albums
        template: menu_button
        type: custom:button-card
    type: custom:hui-element
  - card_type: horizontal-stack
    cards:
      - entity: script.lounge_kodi_input_contectx_menu
        icon: mdi:menu
        name: Menu
        tap_action:
          service: script.lounge_kodi_input_contectx_menu
        template: menu_button
        type: custom:button-card
      - entity: script.lounge_kodi_input_info
        icon: mdi:information-outline
        name: Info
        tap_action:
          service: script.lounge_kodi_input_info
        template: menu_button
        type: custom:button-card
      - entity: script.lounge_kodi_input_up
        icon: mdi:arrow-up-bold
        name: Up
        styles:
          card:
            - background: var(--secondary-background-color-alpha)
        tap_action:
          service: script.lounge_kodi_input_up
        template: icon_button
        type: custom:button-card
      - entity: script.lounge_kodi_window_artists
        icon: mdi:account-music
        name: Artists
        tap_action:
          service: script.lounge_kodi_window_artists
        template: menu_button
        type: custom:button-card
    type: custom:hui-element
  - card_type: horizontal-stack
    cards:
      - entity: script.lounge_kodi_player_play_pause
        icon: mdi:play-pause
        name: Play/Pause
        tap_action:
          service: script.lounge_kodi_player_play_pause
        template: icon_button
        type: custom:button-card
      - entity: script.lounge_kodi_input_left
        icon: mdi:arrow-left-bold
        name: Left
        styles:
          card:
            - background: var(--secondary-background-color-alpha)
        tap_action:
          service: script.lounge_kodi_input_left
        template: icon_button
        type: custom:button-card
      - entity: script.lounge_kodi_input_select
        icon: mdi:check-circle-outline
        name: Ok
        tap_action:
          service: script.lounge_kodi_input_select
        template: icon_button
        type: custom:button-card
      - entity: script.lounge_kodi_input_right
        icon: mdi:arrow-right-bold
        name: Right
        styles:
          card:
            - background: var(--secondary-background-color-alpha)
        tap_action:
          service: script.lounge_kodi_input_right
        template: icon_button
        type: custom:button-card
    type: custom:hui-element
  - card_type: horizontal-stack
    cards:
      - entity: script.lounge_kodi_player_stop
        icon: mdi:stop
        name: Stop
        tap_action:
          service: script.lounge_kodi_player_stop
        template: icon_button
        type: custom:button-card
      - entity: script.lounge_kodi_input_back
        icon: mdi:backburger
        name: Return
        tap_action:
          service: script.lounge_kodi_input_back
        template: menu_button
        type: custom:button-card
      - entity: script.lounge_kodi_input_down
        icon: mdi:arrow-down-bold
        name: Down
        styles:
          card:
            - background: var(--secondary-background-color-alpha)
        tap_action:
          service: script.lounge_kodi_input_down
        template: icon_button
        type: custom:button-card
      - entity: script.lounge_kodi_input_next_subtitle
        icon: mdi:comment-text-outline
        name: Subtitle
        tap_action:
          service: script.lounge_kodi_input_next_subtitle
        template: menu_button
        type: custom:button-card
    type: custom:hui-element
  - card_type: horizontal-stack
    cards:
      - entity: script.lounge_kodi_player_rewind
        icon: mdi:rewind
        name: Rewind
        tap_action:
          service: script.lounge_kodi_player_rewind
        template: icon_button
        type: custom:button-card
      - entity: script.lounge_kodi_player_fast_fwd
        icon: mdi:fast-forward
        name: Forward
        tap_action:
          service: script.lounge_kodi_player_fast_fwd
        template: icon_button
        type: custom:button-card
      - entity: script.lounge_kodi_player_skip_back
        icon: mdi:skip-previous
        name: Skip Back
        tap_action:
          service: script.lounge_kodi_player_skip_back
        template: icon_button
        type: custom:button-card
      - entity: script.lounge_kodi_player_skip_fwd
        icon: mdi:skip-next
        name: Skip Fwd
        tap_action:
          service: script.lounge_kodi_player_skip_fwd
        template: icon_button
        type: custom:button-card
    type: custom:hui-element
  - card_type: horizontal-stack
    cards:
      - entity: script.lounge_kodi_player_skip_back_30
        icon: mdi:rewind-30
        name: Back 30s
        tap_action:
          service: script.lounge_kodi_player_skip_back_30
        template: icon_button
        type: custom:button-card
      - entity: script.lounge_kodi_player_skip_back_10
        icon: mdi:rewind-10
        name: Back 10s
        tap_action:
          service: script.lounge_kodi_player_skip_back_10
        template: icon_button
        type: custom:button-card
      - entity: script.lounge_kodi_player_skip_fwd_10
        icon: mdi:fast-forward-10
        name: Fwd 10s
        tap_action:
          service: script.lounge_kodi_player_skip_fwd_10
        template: icon_button
        type: custom:button-card
      - entity: script.lounge_kodi_player_skip_fwd_30
        icon: mdi:fast-forward-30
        name: Fwd 30s
        tap_action:
          service: script.lounge_kodi_player_skip_fwd_30
        template: icon_button
        type: custom:button-card
    type: custom:hui-element
  - artwork: full-cover
    entity: media_player.lounge_osmc_kodi
    group: true
    hide:
      artwork: false
      controls: true
      icon: false
      name: false
      power: true
      power_state: true
      source: false
      volume: true
    icon: mdi:kodi
    info: scroll
    type: custom:mini-media-player
show_header_toggle: false
title: Kodi Remote
type: entities
2 Likes