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:
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
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
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.
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
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.