Amcrest Cameras Mislabed

Hoping someone can help me here as this one is driving me nuts. I am in the process of setting up my 3rd amcrest cam (4th total cam) and I have found that my Friendly Names are displaying incorrectly in the WebUI

Here is configuration.yaml

# Amcrest Camera 1 - Living Room
camera:
  - platform: amcrest
    host: 192.168.0.207
    username: !secret amcrest_user_name
    password: !secret amcrest_password

# Simple Home Camera 1 - Back Yard
camera 1:
  - platform: ffmpeg
    name: Outcam
    input: -rtsp_transport tcp -i rtsp://home:[email protected]:554/11
    extra_arguments: -q:v 2 

# Amcrest Camera 2 - Driveway
camera 2:
  - platform: amcrest
    host: 192.168.0.147
    username: !secret amcrest_user_name
    password: !secret amcrest_password

# Amcrest Camera 3 - Side Yard
camera 3:
  - platform: amcrest
    host: 192.168.0.227
    username: !secret amcrest_user_name
    password: !secret amcrest_password

groups.yaml

#####################
# Cameras
#####################

  cameras:
    name: Cameras
    view: yes
    entities:
      - group.driveway
      - group.livingroom
      - group.backyard
      - group.sideyard
  driveway:
    name: Driveway
    entities:
      - camera.amcrest_camera_2
  livingroom:
    name: Living Room
    entities:
      - camera.amcrest_camera 
  backyard:
    name: Backyard
    entities:
      - camera.outcam
  sideyard:
    name: Side Yard
    entities:
      - camera.amcrest_camera_3

customize.yaml

# Amcrest Camera 1 - Living Room
camera.amcrest_camera:
  friendly_name: "Living Room"
  icon: mdi:webcam

#  Hisilicon/Simple Home IP Camera - Backyard
camera.outcam:
  friendly_name: "Back Yard"
  icon: mdi:webcam

# Amcrest Camera 2 - Driveway
camera.amcrest_camera_2:
  friendly_name: "Driveway"
  icon: mdi:webcam

# Amcrest Camera 3 - Side Yard
camera.amcrest_camera_3:
  friendly_name: "Side Yard"
  icon: mdi:webcam

After a HA restart

In the WebUI, “Side Yard” is labeled 'Driveway". “Driveway” is labeled “Side Yard”.

Restarted HA again.

Now “Side Yard” is labeled “Living Room”, and “Living Room” is labeled “Side Yard”

Is my config just wacked, or has anyone seen this behavior before.

Review the arm rest component documentation

You should have something like

camera 2:
  - platform: amcrest
    host: 192.168.0.147
    username: !secret amcrest_user_name
    password: !secret amcrest_password
    name: "driveway"

And remove name from customize, only icon there

Your problem is the spaces in the name. Change from camera 2 to camera2 or camera_2.

HA does not seem to be happy with that change.

17-03-24 11:02:39 ERROR (MainThread) [homeassistant.loader] Unable to find component camera1
17-03-24 11:02:40 ERROR (MainThread) [homeassistant.loader] Unable to find component camera2
17-03-24 11:02:41 ERROR (MainThread) [homeassistant.loader] Unable to find component camera3

Thanks, this fixed my issue.

# Amcrest Camera 3 - Side Yard
camera 3:
  - platform: amcrest
    host: 192.168.0.227
    username: !secret amcrest_user_name
    password: !secret amcrest_password
    name: "Side Yard"

The device’s entity names have also changed to reflect the “name”, which is very nice.

  cameras:
    name: Cameras
    view: yes
    entities:
      - group.driveway
      - group.livingroom
      - group.backyard
      - group.sideyard
  driveway:
    name: Driveway
    entities:
      - camera.driveway
  livingroom:
    name: Living Room
    entities:
      - camera.living_room 
  backyard:
    name: Backyard
    entities:
      - camera.outcam
  sideyard:
    name: Side Yard
    entities:
      - camera.side_yard