Not able to use group

Hi, I have lost many hours trying to make my groups work and I cannnot see any error in the configuration.yaml file. I was hoping to create this view but I cannot. No error. Can anyone help me checking what is wrong with my file ?

Weather prediction

sensor:

  • platform: wunderground
    api_key: fdd654e42d9dae96
    monitored_conditions:
    • precip_1d
    • precip_2d
    • temp_c
    • weather
    • weather_1d_metric

group:
weather_overview:
name: Weather overview
entities:
- sensor.pws_precip_1d
- sensor.pws_precip_2d
- sensor.pws_temp_c
- sensor.pws_weather
- sensor.pws_weather_1d_metric

I see the prodiction at the top but I do not see the “dashboard” defined by the group. What am I doing wrong ?

Thanks for the help.

put group.weather_overview into another group

Thanks for your help. I am new at this, got as example and wrote this according to your suggestion:

group:
weather_overview:
name: Weather overview
entities:
- sensor.pws_precip_1d
- sensor.pws_precip_2d
- sensor.pws_temp_c
- sensor.pws_weather
- sensor.pws_weather_1d_metric
group:
automation_view:
name: Automation
view: yes
entities:
- group.weather_overview

Still not working. It does not have any suntax error but surely it’s not right. Can you point me to the error ? Thanks.

Please select your code when in the edit box leaving a clear line above and below the code and press the </> button, this will format the code so we can see it properly and can help further :slight_smile:

keithh666, I am not sure if I am doing this right but group is to the left, weather is 2 columns away, name & entities 2 more, and -sensor, 2 more. I think it’s formatted correctly.

group:
weather_overview:
name: Weather overview
entities:

  • sensor.pws_precip_1d
  • sensor.pws_precip_2d
  • sensor.pws_temp_c
  • sensor.pws_weather
  • sensor.pws_weather_1d_metric

group:
automation_view:
name: Automation
view: yes
entities:

  • group.weather_overview

Also, should the file groups.yaml have any content ? It’s clean.

Like with other components, you can’t have multiple group: definitions within the group listing, so remove the second group: :slight_smile:

See here …

https://home-assistant.io/components/group/

If you want to add all your groups to the groups.yaml you can do that but then you don’t have them in the config.yaml
you just have

# Groups #
group: !include groups.yaml

then in groups.yaml remove the group: as it’s already in the config.yaml

See splitting your yamls up…

Still not working.

sensor:
  - platform: wunderground
    api_key: 
    monitored_conditions:
      - precip_1d
      - precip_2d
      - temp_c
      - weather
      - weather_1d_metric
group:
  weather_overview:
    name: Weather overview
    entities:
      - sensor.pws_precip_1d
      - sensor.pws_precip_2d
      - sensor.pws_temp_c
      - sensor.pws_weather
      - sensor.pws_weather_1d_metric
  automation_view:
    name: Automation
    view: yes
    entities:
      - group.weather_overview`

Preformatted text`

Can you show the whole file please sans the pw etc. What does the log show, what does the config checker show.

group:
  automation_view:
    name: Automation
    view: yes
    entities:
      - group.weather_overview

  weather_overview:
    name: Weather overview
    entities:
      - sensor.pws_precip_1d
      - sensor.pws_precip_2d
      - sensor.pws_temp_c
      - sensor.pws_weather
      - sensor.pws_weather_1d_metric

Try it this way round.

… And are you certain that the entity_id’s are correct?

Hi, here is the yaml file as well as a screenshot fo the entities:

configuratio.yaml (2.7 KB)

Thanks for your patience and help

take the other group; !include out, as i said before you cant have more than 1 group: in the the system, unless you name them group 1:, group 2: etc. Basically don’t do it :smiley:

Done. As always, a small detail and lack of knowledge. I did not notice that I had to comment this line:

#group: !include groups.yaml

Only afte reading this help a couple of times I understood that I had to do this.

Well, one more step. Now a new challenge.

Now a thought. I find the instructions not easy to follow and I miss a book with the title: Home Assistant for Dummies where one could follow step by step.

Thanks for listening and I want to thank all of those who helped.

It’s all a steep learning curve :), but you’ll get there :smiley: