Groups.yaml - entries not listed if friendly names defined

I’ve just created my first groups.yaml file, but some of the entities are missing from their respective views in the HA GUI. I’ve worked out that all of the missing entities have friendly names in configuartion.yaml which are different from their entity name. Is this a known issue? (i.e. that an entity will not be listed in a view if its friendly name is different from its entity name?

In the example below, humax will be listed in my groups view, but not tv_samsung:

  - platform: broadlink
    host: 192.168.1.67
    mac: 'XX:XX:XX:XX:XX:XX'
    switches:
      humax:
        friendly name: Humax
        command_on: 'sjMyABUHFggIFRUHCBUIFRUHCBUWBxUICBUWBwgVFQgIFRYHFQgIFQgVCBUVBwgVFgcVBwjbAAAAAAAA'
      tv_samsung:
        friendly name: Samsung TV
        command_on: 'sgDKABUGFQcHFBUHBhUHFBQHBxQVBxQHCBMVBwcUFQYHFRQHFAcHFQYVBxQHFAcVFAcUBwfaFQcUBwcUFQYIFAcUFQYHFRQHFAcHFBUHBxQVBgcUFQcUBwcUCBQHFAcUBxQVBxQHB9oVBxQHBxQVBwYVBxQVBggUFAcUBwcUFQcHFBQHCBQUBxQHBxQHFAgUBxQHFBUHFAcH2hUGFQcHFBQHCBMIFBQHBxQVBxQHBxQVBwcUFQYHFBUHFAcHFAgUBxQHFAcUFQcUBwcABdwAAAAAAAAAAAAAAAAAAA=='

I think he means your group configuration…

Ah OK:

  name: Energenie Switches
  view: yes
  entities:
    - switch.study_cam
    - switch.linksys_cam
    - switch.kitchen_cam
    - switch.lounge_cam
    - switch.dining_cam
    - switch.lounge_switch
    - switch.humax
    - switch.slingbox
    - switch.chromecast
    - switch.ismartalarm_hub
switch_view:
  name: Switches
  view: yes
  entities:
    - switch.humax
    - switch.chromecast_power
    - switch.blanket_ian
    - switch.blanket_gill
    - switch.tv_samsung
    - switch.receiver_onkyo
receiver_view:
  name: Onkyo Sources
  view: yes
  entities:
    - switch.onkyo_pc
    - switch.onkyo_cblsat
    - switch.onkyo_game
    - switch.onkyo_dvd
    - switch.onkyo_fm
    - switch.onkyo_am
    - switch.onkyo_net

That’s a bug in the Broadlink switch.
Your entity_id is switch.samsung_tv, not switch.tv_samsung.
https://github.com/home-assistant/home-assistant/issues/11628

1 Like

Ah yes that explains it - many thanks