I can’t figure out what I’m doing wrong. I’ve followed several tutorials but I can not get my groups to work. I either get an error or no error but no groups/views.
Using this code in my configuration.yaml file (notice the commented out “group: !include groups.yaml”)
group:
automations:
name: automations
view: yes
entities:
- automation.alarm_trigger
- automation.home_alarm_trigger_email_alert
- automation.sounds_siren
- automation.test_device_tracker
- automation.test_mqtt_to_android
- automation.tts_for_alarm_disarmed
- automation.tts_for_arming_alarm
- automation.turn_off_siren
- automation.wemo_mini_plug_off
- automation.wemo_mini_plug_on
garage:
name: garage
view: yes
entities:
- cover.garage_door_opener
- zwave.ecolink_doorwindow_sensor
#group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
I don’t get any groups or views on the home page at http://localhost.hassio:8123/states but the entities listed in those groups are no longer on the home page.
If I uncomment the “group: !include groups.yaml” in the configuration.yaml file, then put that same code in the groups.yaml file I get this error:
Configuration invalid
Invalid config for [group]: [automations] is an invalid option for [group]. Check: group->group->group->automations. (See /config/configuration.yaml, line 147). Please check the docs at Group - Home Assistant
My configuration.yaml file with line numbers:
146
147
148 group: !include groups.yaml
149 automation: !include automations.yaml
150 script: !include scripts.yaml
Groups.yaml file:
group:
automations:
name: automations
view: yes
entities:
- automation.alarm_trigger
- automation.home_alarm_trigger_email_alert
- automation.sounds_siren
- automation.test_device_tracker
- automation.test_mqtt_to_android
- automation.tts_for_alarm_disarmed
- automation.tts_for_arming_alarm
- automation.turn_off_siren
- automation.wemo_mini_plug_off
- automation.wemo_mini_plug_on
garage:
name: garage
view: yes
entities:
- cover.garage_door_opener
- zwave.ecolink_doorwindow_sensor
Any idea what I’m doing wrong?