Devices / entities not showing in views

I’m running Hass.io on a Raspberry Pi 1. Yes I know it’s going to be slow, but it’s all I have for the time being.

I’ve created groups for all the devices, and views for each room that they are in, however on the Overview page I am shown a list of tabs for each of the views I have created, but only one or two devices show up on any of them.
My home view is set up to show all devices by type, but it’s empty.
My bedroom1, bedroom2, and weather views are blank.
And my lounge view shows 1 item (a device tracker - my server), and my outside view shows only my NVIDIA shield.
All entities, groups, show up in the Customization tab within the “Configuration” section of hass.io, and my config is valid according to checks.
My groups.yaml is below:

default_view:
  name: default_view
  view: yes
  entities: 
    - group.lounge
    - group.bed1
    - group.bed2
    - group.outside
lounge:
  view: yes
  entities:
    - device_tracker.tv_cam
    - device_tracker.360_cam
    - device_tracker.Google_Home_Lounge
    - device_tracker.Server
    - device_tracker.Lounge_Gateway
    - media_player.Lounge_Speaker
    - media_player.Server
    - light.Gateway1_light    
bed1:
  name: Bed1
  view: yes
  entities:
    - media_player.Bed1_speaker
    - device_tracker.Google_Home_Bed1
    - device_tracker.Baby_cam
    - device_tracker.RM3_Mini   
bed2:
  name: Bed2
  view: yes
  entities:
    - media_player.Bed2_speaker
    - device_tracker.Google_Home_Bed2
    - sensor.Humidity_indoors
    - sensor.Presure_indoors
    - sensor.Temperature_indoors
    - switch.AirconPlug
    - switch.Bed2_fan
    - binary_sensor.Bed2_patiodoor
    - binary_sensor.Aqara_Switch_Bed2
outside_view:
  name: outside
  view: yes
  entities:
    - device_tracker.Dog_cam
    - device_tracker.NVIDIA
    - sensor.Temperature_outdoors
    - sensor.Humidity_outdoors
- sensor.Pressure_outdoors
- sensor.Illumination_outdoors
- media_player.SHIELD
Weather_view:
  name: Weather
  view: yes
  entities:
    - sensor.Temperature_outdoors
    - sensor.Humidity_outdoors
    - sensor.Pressure_outdoors
    - sensor.Temperature_indoors
    - sensor.Humidity_indoors
    - sensor.Presure_indoors
Me:
  entities:
    - device_tracker.Mypc
    - device_tracker.My_phone 
Wifey:
  entities:
    - device_tracker.Wifey_iPad
    - device_tracker.Wifey_Redmi3
Google_media:
  entities:
    - media_player.Bed2_speaker
    - media_player.Bed1_speaker
    - media_player.Lounge_Speaker
Family:
  entities:
    - device_tracker.MyPC
    - device_tracker.My_phone
    - device_tracker.Wifey_iPad
    - device_tracker.Wifey_Redmi3
Security:
  entities:
    - sensor.Illumination_outdoors
Bedtime:
  entities:
    - switch.AirconPlug
    - switch.Bed2_fan

I just use some of your config to explain why you don’t see in default page.

default_view:  <== this will show in default page frontend nothing to display because you don't have group.lounge, group.bed1, group.bed2 and group.outside
  name: default_view
  view: yes
  entities: 
    - group.lounge  <== you don't have group.lounge
    - group.bed1 <== you don't have group.bed1
    - group.bed2 <== you don't have group.bed2
    - group.outside <== you don't have group.bed2
lounge:  <== this is the tab view which will show device trackers as bagdes, media player and gateway 1 light
  view: yes
  entities:
    - device_tracker.tv_cam
    - device_tracker.360_cam
    - device_tracker.Google_Home_Lounge
    - device_tracker.Server
    - device_tracker.Lounge_Gateway
    - media_player.Lounge_Speaker
    - media_player.Server
    - light.Gateway1_light    

Weather_view:
  name: Weather
  view: yes
  entities:
    - sensor.Temperature_outdoors
    - sensor.Humidity_outdoors
    - sensor.Pressure_outdoors
    - sensor.Temperature_indoors
    - sensor.Humidity_indoors
    - sensor.Presure_indoors
	
Me:  <== this is a group.me
  entities:
    - device_tracker.Mypc
    - device_tracker.My_phone 
	
Wifey: <== this is group.wifey
  entities:
    - device_tracker.Wifey_iPad
    - device_tracker.Wifey_Redmi3
	
Google_media: <== this is group.google_media
  entities:
    - media_player.Bed2_speaker
    - media_player.Bed1_speaker
    - media_player.Lounge_Speaker
1 Like

Ahh, thanks @Sunonline your first point makes total sense. I had presumed that a view could double up as a group.

However, it doesn’t explain why my lounge view only shows one device tracker I have named Server, and nothing else, and most of the other views have nothing in them at all.

I have also just changed Default_view to have
default_view:
name: default_view
view: yes
entities:
- group.Family
- group.Google_media
- group.Weather
instead, and still nothing is displayed in the home tab.

device tracker, sensor normally show in badge unless you put them in group then it will show in card.

the name of the sensor and device tracker have to match the entity_id which you can check from developer tools > states

entity_id don’t use capital letter. So in Lounge tab you would see only 2 device trackers if these were the correct entity_id, the rest I see you use mix with capital letter, so these devices might not show up.

also the group name or tab name have to be in small letter. name: can be capital letter, this will show in frontend.
Weather_view: <== weather_view
Me: <== me
Wifey: <== wifey

1 Like

No joy there unfortunately.
I’ve gone through and taken capital letters out of all groups / views and entities in groups, and edited the customize.yaml file to reflect the same. Still I only see a couple of items across all of the views I have created.

name: default_view
  view: yes
  entities: 
    - group.family
    - group.google_media
    - group.weather
lounge:
  view: yes
  entities:
    - device_tracker.tv_cam
    - device_tracker.360_cam
    - device_tracker.google_home_lounge
    - device_tracker.server
    - device_tracker.lounge_gateway
    - media_player.lounge_speaker
    - media_player.server
    - light.gateway1_light    
bed1:
  name: bed1
  view: yes
  entities:
    - media_player.bed1_speaker
    - device_tracker.google_home_bed1
    - device_tracker.baby_cam
    - device_tracker.rm3_mini   
bed2:
  name: Bed2
  view: yes
  entities:
    - media_player.bed2_speaker
    - device_tracker.google_home_bed2
    - sensor.humidity_indoors
    - sensor.pressure_indoors
    - sensor.temperature_indoors
    - switch.airconplug
    - switch.bed2_fan
    - binary_sensor.bed2_patiodoor
    - binary_sensor.aqara_switch_bed2

outside_view:
  name: outside
  view: yes
  entities:
    - device_tracker.dog_cam
    - device_tracker.nvidia
    - sensor.temperature_outdoors
    - sensor.humidity_outdoors
    - sensor.pressure_outdoors
    - sensor.illumination_outdoors
    - media_player.nvidia_shield
weather_view:
  name: Weather
  view: yes
  entities:
    - sensor.temperature_outdoors
    - sensor.humidity_outdoors
    - sensor.pressure_outdoors
    - sensor.temperature_indoors
    - sensor.humidity_indoors
    - sensor.pressure_indoors
me:
  entities:
    - device_tracker.my_cube
    - device_tracker.my_phone 
wifey:
  entities:
    - device_tracker.wifey_ipad
    - device_tracker.wifey_phone
google_media:
  entities:
    - media_player.bed2_speaker
    - media_player.bed1_speaker
    - media_player.lounge_speaker
family:
  entities:
    - device_tracker.mypc
    - device_tracker.my_phone
    - device_tracker.wifey_ipad
    - device_tracker.wifey_phone
security:
  entities:
    - sensor.illumination_outdoors
bedtime:
  entities:
    - switch.airconplug
    - switch.bed2_fan

PS it feels like it takes the RPI1 forever to reboot to take all those changes.

Here is the example of group, tab and default view. Please check the entity_id from the developer tools>state. if you don’t put the name correctly or there is no that entity_id in developer tools, it will not show.

  default_view: <== main page
    view: yes <== show on frontend
    icon: mdi:home <== I change to icon not name
    entities:
     - group.Talaykaew_5   <== show group that I created below
     - group.office   <== show group that I created below

  office_view:  <== tab view next to default view tab
    view: yes
    icon: mdi:atom
    name: Office <== Can use with capital letter, just the name to show in frontend
    entities:
     - group.office
     - group.mp_1
     - group.sensor_node_1_card

  talaykaew_5:  <=== group
    name: Talaykaew 5
    entities:
     - switch.kitchen_light_2
     - switch.kitchen_aircon

  office:  <== group
    name: Office  <== Name of the card can use Capital letter, just the name to show in frontend.
    entities:
     - switch.office_light
     - switch.front_light
     - switch.gate_light
1 Like

Thanks again @Sunonline. I had thought giving something a friendly name meant it could be used instead of the original entity_id given.
Instead of trying to run before I can walk, I am now taking it slowly, and checking each group / view item as I go along.

1 Like

You are welcome. I am new too.