Apple TV errors?

Hey all! I’m using two Astrions at my home for keeping my wife happy with the home theater and TV in our room with Apple TV and SHIELD and gaming options lol. So far I’m liking them, however I think I’ve discovered a bug and was wondering if anyone else has come across this. I have multiple views under my Astrion dashboard; one for each entertainment room (living room and bedroom) plus a general smart home one with lights and curtains and thermostat etc. Both living room and bedroom have one Nvidia SHIELD and one Apple TV. On HA I have configured these all and they work as intended. However when I go to either one of my Astrions while the SHIELD cards show up correctly, I get duplicate Bedroom Apple TV cards! I don’t understand what could be wrong here as they have nothing in common programming-wise and if I delete the Bedroom Apple TV card the Living Room one displays correctly but as soon as I add the Bedroom one back it overwrites the living room on the remote! What an odd bug.

Does each card have a different UUID when you go to YAML view?

May occur if you are copy/pasting the cards between views.

type: custom:aiks-tv-card
uuid: 3b7fbb52-3718-4d69-8f8c-6e519f26a2e2
tv_type: android_tv
tv_name: Shield TV
media_play_entity: media_player.shield_debug_bridge
entities:
  - key: POWER
    type: script
    entity_id: script.ros_tv_toggle
    value: SHIELD TV
  - key: UP
    type: script
    entity_id: script.ros_up
    value: UP
  - key: DOWN
    type: script
    entity_id: script.ros_down
    value: DOWN
  - key: LEFT
    type: script
    entity_id: script.ros_left
    value: LEFT
  - key: RIGHT
    type: script
    entity_id: script.ros_right
    value: RIGHT
  - key: CENTER
    type: script
    entity_id: script.ros_select
    value: CENTER
  - key: BACK
    type: script
    entity_id: script.ros_back
    value: BACK
  - key: PLAY
    type: script
    entity_id: script.ros_play
    value: PLAY
  - key: PAUSE
    type: script
    entity_id: script.ros_pause
    value: PAUSE
  - key: VOLUME_UP
    type: script
    entity_id: script.ros_volume_up
    value: ""
  - key: VOLUME_DOWN
    type: script
    entity_id: script.ros_volume_down
    value: ""
  - key: MUTE
    type: script
    entity_id: script.ros_mute
    value: MUTE
  - key: UN_MUTE
    type: script
    entity_id: script.ros_mute
    value: UNMUTE
  - key: SETTINGS
    type: script
    entity_id: script.ros_menu
    value: SETTINGS
  - key: HOME
    type: script
    entity_id: script.ros_home
    value: HOME
  - key: MENU
    type: script
    entity_id: script.ros_menu
    value: MENU
  - key: CHANNEL_UP
    type: script
    entity_id: script.ros_surroundmode
    value: ""
  - key: CHANNEL_DOWN
    type: script
    entity_id: script.ros_surroundmode

Hi driveformer,

Welcome to the Astrion community — and thank you for the clear description of your setup :slightly_smiling_face:

Also, thank you to @Chykan_Hunter for the excellent diagnostic suggestion.

Based on what you described, this behaviour is very likely related to card UUID duplication rather than the Apple TV devices themselves.

When a TV card is duplicated via copy/paste or cloned between dashboard views, the internal uuid can remain identical. Astrion uses this UUID as the unique reference for synchronization, so two cards sharing the same UUID may cause one device to overwrite another — which explains why the Bedroom Apple TV replaces the Living Room one on the remote.

Could you please check the following:

:white_check_mark: Open each Apple TV card in YAML view
:white_check_mark: Verify that both cards have different uuid: values
:white_check_mark: If they match, simply generate a new UUID for one card (any random UUID works)

After changing it:

  1. Save the card

  2. Reload/sync the Astrion dashboard

  3. Reopen the view on the remote

This should allow both Apple TVs to appear independently.

We’re also reviewing ways to make this situation clearer or automatically handled in future updates, since multi-room media setups like yours are very common.

Thanks again for reporting this — and for helping us improve Astrion together with the community!

— Astrion Team