Home Assistant Community

Weather Grouping Not Working

#1

Can someone help me with my grouping? All my other groups work fine for switches/sensors but the weather never seems to work for me. As far as I can tell i coppied it straight out of the components examples for wunderground. No matter what i do it all the weather sensors are badges, and on the view i created for weather it’s just blank.

  daily_forecast:
    name: Daily Forecast
    view: no
    entities:
      - sensor.pws_weather_1d
      - sensor.pws_weather_1n
      - sensor.pws_weather_2d
      - sensor.pws_weather_2n
      - sensor.pws_weather_3d
      - sensor.pws_weather_3n
      - sensor.pws_weather_4d
      - sensor.pws_weather_4n
  weather_overview:
    name: Weather Overview
    view: no
    icon: mdi:weather-lightning
    entities:
      - sensor.pws_weather_1d
      - sensor.pws_temp_high_record_f
      - sensor.pws_temp_high_1d_f
      - sensor.pws_temp_f
      - sensor.pws_temp_low_1d_f
      - sensor.pws_temp_low_record_f
      - sensor.pws_precip_1d
      - sensor.pws_precip_1d_in
      - sensor.pws_wind_mph
      - sensor.pws_wind_1d_mph
      - sensor.pws_alerts
  the_weather:
    view: yes
    name: "The Weather"
    entities:
      - group.weather_overview
      - group.daily_forecast
  downstairs:
    name: Downstairs
    icon: mdi:ceiling-light
    entities:
      - switch.dining_room_light
      - switch.kitchen_light
  upstairs:
    name: Upstairs
    icon: mdi:ceiling-light
    entities:
      - switch.mikeys_room
      - switch.girls_room
      - switch.master_bedroom_light
  aquarium:
    name: Aquarium
    icon: mdi:fish
    entities:
      - switch.aquarium_accessories
      - switch.aquarium_filter
      - switch.aquarium_light
      - sensor.aquarium_accessories
      - sensor.aquarium_filter
      - sensor.aquarium_light
      - sensor.aquarium_temperature
  discus:
    name: Discus Tank
    icon: mdi:fish
    entities:
      - switch.edimax
      - sensor.edimax_watts
      - sensor.edimax_watts1
      - sensor.discus_temperature
#2

icon: mdi:weather-lightning

This is only valid for a view but I wouldn’t expect it to stop the group from existing. Try removing it.

Also check the States page ( “<>”) under Developer Tools (bottom of the left hand side menu) for what your sensors are actually called.

1 Like
#3

I would check this post, it is long but may have what you need. https://community.home-assistant.io/t/7-day-weather-forecast/40114

#4

I feel so dumb but I finally checked my actual sensors names and they all had “_2” at the end of the sensors name. Not sure why it appended that there, but since I’ve added that to the groups.yaml everything is working correctly now.

 daily_forecast:
    name: Daily Forecast
    view: no
    entities:
      - sensor.pws_weather_1d_2
      - sensor.pws_weather_1n_2
      - sensor.pws_weather_2d_2
      - sensor.pws_weather_2n_2
      - sensor.pws_weather_3d_2
      - sensor.pws_weather_3n_2
      - sensor.pws_weather_4d_2
      - sensor.pws_weather_4n_2
  weather_overview:
    name: Weather Overview
    view: no
    entities:
      - sensor.pws_weather_1d_2
      - sensor.pws_temp_high_record_f_2
      - sensor.pws_temp_high_1d_f_2
      - sensor.pws_temp_f_2
      - sensor.pws_temp_low_1d_f_2
      - sensor.pws_temp_low_record_f_2
      - sensor.pws_precip_1d_2
      - sensor.pws_precip_1d_in_2
      - sensor.pws_wind_mph_2
      - sensor.pws_wind_1d_mph_2
      - sensor.pws_alerts_2
  the_weather:
    view: yes
    name: "The Weather"
    entities:
      - group.weather_overview
      - group.daily_forecast
1 Like