joolzhaines
(Julian Haines)
December 17, 2017, 12:54pm
1
Hi,
I am new to Home Assistant and loving it, I am having an issue getting views and grouping working see below, I dont get a script error but the cctv tab does not show does anyone know why?
group:
default_view:
view: yes
icon: mdi:home
entities:
- camera.front_door
- camera.front_garden
- camera.side_garden
- camera.back_garden
cctv:
name: CCTV
view: yes
entities:
- group.camera_frontdoor
- group.camera_frontgarden
- group.camera_sidegarden
- group.camera_backgarden
camera_frontdoor:
name: FrontDoor
entities:
- camera.front_door
camera_frontgarden:
name: FrontGarden
entities:
- camera.front_garden
camera_sidegarden:
name: SideGarden
entities:
- camera.side_garden
camera_backgarden:
name: BackGarden
entities:
- camera.back_garden
Tinkerer
(aka DubhAd on GitHub)
December 17, 2017, 1:19pm
2
Have a look at the big blue box at the top - you need to edit your post, select the code, and then select the button marked </>
. With that done, we might be able to identify issues.
joolzhaines
(Julian Haines)
December 17, 2017, 5:16pm
3
Hi,
Sorry I did not think about that I have reformatted.
julian
Indentation is wrong for all the groups except default view, should be…
group:
default_view:
view: yes
icon: mdi:home
entities:
- camera.front_door
- camera.front_garden
- camera.side_garden
- camera.back_garden
cctv:
name: CCTV
view: yes
entities:
- group.camera_frontdoor
- group.camera_frontgarden
- group.camera_sidegarden
- group.camera_backgarden
camera_frontdoor:
name: FrontDoor
entities:
- camera.front_door
camera_frontgarden:
name: FrontGarden
entities:
- camera.front_garden
camera_sidegarden:
name: SideGarden
entities:
- camera.side_garden
camera_backgarden:
name: BackGarden
entities:
- camera.back_garden