Sony TV 面板分享

如題
請先在HACS安裝 multiple-entity-row

type: entities
entities:
  - entity: media_player.sony_bravia_tv
    name: 房間電視
  - entity: remote.sony_bravia_tv
    type: custom:multiple-entity-row
    name: HDMI
    state_header: Power
    icon: mdi:television
    toggle: true
    entities:
      - entity: script.sonytv_hdmi1
        name: HDMI1
        icon: mdi:video-input-hdmi
        toggle: false
        tap_action:
          action: toggle
      - entity: script.sonytv_hdmi2
        name: HDMI2
        icon: mdi:video-input-hdmi
        toggle: false
        tap_action:
          action: toggle
      - entity: script.sonytv_hdmi3
        name: HDMI3
        icon: mdi:video-input-hdmi
        toggle: false
        tap_action:
          action: toggle
      - entity: script.sonytv_hdmi4
        name: HDMI4
        icon: mdi:video-input-hdmi
        toggle: false
        tap_action:
          action: toggle
      - entity: switch.ps5_856_power
        name: PS5
        icon: mdi:sony-playstation
        toggle: false
        state_color: true
        tap_action:
          action: toggle
  - entity: remote.sony_bravia_tv
    type: custom:multiple-entity-row
    name: 常用
    state_header: Power
    icon: mdi:remote
    toggle: true
    entities:
      - entity: script.sonytv_disney
        name: Disney+
        icon: mdi:movie-open-outline
        toggle: false
        tap_action:
          action: toggle
      - entity: script.sonytv_kodi
        name: Kodi
        icon: mdi:kodi
        toggle: false
        tap_action:
          action: toggle
      - entity: script.sonytv_youtube
        name: YouTube
        icon: mdi:youtube
        toggle: false
        tap_action:
          action: toggle
      - entity: script.sonytv_netflix
        name: Netflix
        icon: mdi:netflix
        toggle: false
        tap_action:
          action: toggle
  - entity: remote.sony_bravia_tv
    type: custom:multiple-entity-row
    name: 控制1
    state_header: Power
    icon: mdi:remote
    toggle: true
    entities:
      - entity: script.sonytv_left
        name: false
        icon: mdi:arrow-left-drop-circle-outline
        toggle: false
        tap_action:
          action: toggle
      - entity: script.sonytv_up
        name: false
        icon: mdi:arrow-up-drop-circle-outline
        toggle: false
        tap_action:
          action: toggle
      - entity: script.sonytv_down
        name: false
        icon: mdi:arrow-down-drop-circle-outline
        toggle: false
        tap_action:
          action: toggle
      - entity: script.sonytv_right
        name: false
        icon: mdi:arrow-right-drop-circle-outline
        toggle: false
        tap_action:
          action: toggle
  - entity: remote.sony_bravia_tv
    type: custom:multiple-entity-row
    name: 控制2
    state_header: Power
    icon: mdi:remote
    toggle: true
    entities:
      - entity: script.sonytv_input
        name: false
        icon: mdi:video-input-hdmi
        toggle: false
        tap_action:
          action: toggle
      - entity: script.sonytv_exit
        name: false
        icon: mdi:reply
        toggle: false
        tap_action:
          action: toggle
      - entity: script.sonytv_confirm
        name: false
        icon: mdi:keyboard-return
        toggle: false
        tap_action:
          action: toggle
      - entity: script.sonytv_home
        name: false
        icon: mdi:home
        toggle: false
        tap_action:
          action: toggle
  - entity: remote.sony_bravia_tv
    type: custom:multiple-entity-row
    name: 數字
    state_header: Power
    icon: mdi:remote
    toggle: true
    entities:
      - entity: script.sonytv_num1
        name: false
        icon: mdi:numeric-1-box
        toggle: false
        tap_action:
          action: toggle
      - entity: script.sonytv_num2
        name: false
        icon: mdi:numeric-2-box
        toggle: false
        tap_action:
          action: toggle
      - entity: script.sonytv_num3
        name: false
        icon: mdi:numeric-3-box
        toggle: false
        tap_action:
          action: toggle
      - entity: script.sonytv_num4
        name: false
        icon: mdi:numeric-4-box
        toggle: false
        tap_action:
          action: toggle
      - entity: script.sonytv_num5
        name: false
        icon: mdi:numeric-5-box
        toggle: false
        tap_action:
          action: toggle
  - entity: remote.sony_bravia_tv
    type: custom:multiple-entity-row
    name: 數字
    state_header: Power
    icon: mdi:remote
    toggle: true
    entities:
      - entity: script.sonytv_num6
        name: false
        icon: mdi:numeric-6-box
        toggle: false
        tap_action:
          action: toggle
      - entity: script.sonytv_num7
        name: false
        icon: mdi:numeric-7-box
        toggle: false
        tap_action:
          action: toggle
      - entity: script.sonytv_num8
        name: false
        icon: mdi:numeric-8-box
        toggle: false
        tap_action:
          action: toggle
      - entity: script.sonytv_num9
        name: false
        icon: mdi:numeric-9-box
        toggle: false
        tap_action:
          action: toggle
      - entity: script.sonytv_num0
        name: false
        icon: mdi:numeric-0-box
        toggle: false
        tap_action:
          action: toggle