I’m having issues with nesting groups in Home Assistant. The first issue is that group.all_devices
, group.all_switches
, and group.all_lights
don’t work. I have all lights and switches set to show on my home tab, but it shows up as blank. However, a custom group with 2 lights will work fine.
I have 5 Nest Protect smoke detectors, and I want to have one main view, with each smoke detector having it’s sensors in it’s own group. However, the individual groups won’t show up in any view, and a view with just these groups won’t show up at all. In the photo above, there should be a group called “Alarms”
However, if I remove the default_view
part of the groups.yaml, 3 of the 5 nest protect groupings show up fine, and the all_lights and all_switches groups show up, minus the 2 lights already in a group, which seems odd.
Here is my groups.yaml
bedroom:
view: yes
name: Bedroom
entities:
- media_player.keiths_home
- group.bedroom_lights
- switch.bedroom_outlet
- group.master_protect
bedroom_lights:
name: Bedroom Lights
entities:
- light.yeelight_rgb_7811dca5f009
- light.yeelight_rgb_7811dca60116
main_floor:
view: yes
name: Main Floor
entities:
- media_player.living_room_tv
- light.dining_room_chandelier
keith_protect:
name: Keith's Room
icon: mdi:notifications_active
entities:
- binary_sensor.keiths_room_nest_protect_online
- sensor.keiths_room_nest_protect_battery_health
- sensor.keiths_room_nest_protect_smoke_status
- sensor.keiths_room_nest_protect_co_status
cole_protect:
name: Cole's Room
icon: mdi:notifications_active
entities:
- binary_sensor.coles_room_nest_protect_online
- sensor.coles_room_nest_protect_battery_health
- sensor.coles_room_nest_protect_smoke_status
- sensor.coles_room_nest_protect_co_status
erin_protect:
name: Erin's Room
icon: mdi:notifications_active
entities:
- binary_sensor.erins_room_nest_protect_online
- sensor.erins_room_nest_protect_battery_health
- sensor.erins_room_nest_protect_smoke_status
- sensor.erins_room_nest_protect_co_status
entryway_protect:
name: Entryway
icon: mdi:notifications_active
entities:
- binary_sensor.entryway_room_nest_protect_online
- sensor.entryway_room_nest_protect_battery_health
- sensor.entryway_room_nest_protect_smoke_status
- sensor.entryway_room_nest_protect_co_status
master_protect:
name: Master Bedroom
icon: mdi:notifications_active
entities:
- binary_sensor.master_bedroom_room_nest_protect_online
- sensor.master_bedroom_room_nest_protect_battery_health
- sensor.master_bedroom_room_nest_protect_smoke_status
- sensor.master_bedroom_room_nest_protect_co_status
nest_protects:
name: Alarms
view: yes
icon: mdi:notifications_active
entities:
- group.entryway_protect
- group.keith_protect
- group.cole_protect
- group.erin_protect
- group.master_protect
default_view:
name: Home
view: yes
entities:
- group.all_lights
- group.all_switches
If anyone has any idea how I could go about fixing this, that would be great. Thanks!
Edit: I seem to have fixed part of it. Home Assistant seems to want you to pick either a name or an icon, and if you have both, it won’t show the group. The groups.all_devices, switches, and lights still don’t work however, so help with those would be amazing. Thanks!