Media_player.select_source Canal+

Hi,
this week the app Canal Digitaal switched to Canal+.
in my home automation i used media_player.select_source to select Canal Digitaal. i tried to switch the source name to Canal+ but that doesn’t work. how can i update the source app’s in my HA?

alias: TV eetkamer op Canal+ en NED 1
description: ""
trigger:
  - platform: state
    entity_id:
      - media_player.tv_eetkamer_tv_2
    from: "off"
    to: "on"
condition: []
action:
  - delay:
      hours: 0
      minutes: 0
      seconds: 4
      milliseconds: 0
  - service: media_player.select_source
    data:
      source: Canal+
    target:
      entity_id: media_player.tv_eetkamer_tv_2
  - delay:
      hours: 0
      minutes: 0
      seconds: 4
      milliseconds: 0
  - service: media_player.play_media
    data:
      media_content_type: channel
      media_content_id: "1"
    target:
      entity_id: media_player.tv_eetkamer_tv_2
mode: single

Try to switch the device to canal+ in another way, then read the source in the developer tools to make sure it is correct.
Remember that lowercase and uppercase letters might be important.

the list:

source_list: TV, HDMI, Apple TV+, Canal Digitaal, Disney+, Internet, NLZIET, NPO, Netflix, Pathé Thuis, Prime Video, Privacyvoorkeuren, Rakuten TV, SkyShowtime, Spotify - muziek en podcasts, TV Cast - Screen Mirroring, Viaplay, YouTube, e-Manual

so no Canal+

I needed it for configuring my Apple TV in Android remote card … :thinking:

  canalplus:
    icon: mdi:plus-box-outline
    tap_action:
      action: call-service
      service: media_player.select_source
      data:
        source: CANAL+

In capitols is the trick, works for me at least

if you can provide me a nice logo from the SVG, I’d be happy :smiley:

1 Like

I chose to use some more button version (others are SVG’s though)
But this really works nice, I almost never need the Apple TV home screen anymore \o/