Weather Card on default view

Hey Guys,

New to Home Assistant. Running Hassio on a Pi. I have Yahoo weather pulling in all the sensors with badges at the top of my screen. I want a Weather Card on the first, default view and the badges to dissappear. I have been searching around an all the older suggestions don’t seem to work unless I am still doing something wrong. This is what I have in my configuration.yaml file:

sensor:
- platform: yweather
name: Weather Current
woeid: 12780788
monitored_conditions:
- weather
- weather_current
- temp_min
- temp_max
- wind_speed
- pressure
- visibility
- humidity
- temperature

group:
weather_current:
name: Weather Current
view: no
entities:
- sensor.yweather_condition
- sensor.yweather_current
- sensor.yweather_humidity
- sensor.yweather_pressure
- sensor.yweather_temperature
- sensor.yweather_temperature_max
- sensor.yweather_temperature_min
- sensor.yweather_visibility
- sensor.yweather_wind_speed
- sun.sun

To start to help I have two suggestions for you:

first, you need to format your code to properly display by using the instructions in blue box at the top of the page. It’s required so that people can see any syntax errors.

the other is to not show any passwords or user id’s on the forum. either use the secrets.yaml file for those or redact them in some way to keep them private.

after that we can go from there (but I don’t use yahoo weather so my help may be limited).

Not sure what identifiying information you see there but I didn’t post any. I tried to getting the post code to work and it didn’t after a few tries. Let me try again.

# Weather prediction
sensor:
  - platform: yweather
    name: Weather Current
    woeid: 12780788
    monitored_conditions:
      - weather
      - weather_current
      - temp_min
      - temp_max
      - wind_speed
      - pressure
      - visibility
      - humidity
      - temperature

group:
  weather_current:
    name: Weather Current
    view: no
    entities:
      - sensor.yweather_condition
      - sensor.yweather_current
      - sensor.yweather_humidity
      - sensor.yweather_pressure
      - sensor.yweather_temperature
      - sensor.yweather_temperature_max
      - sensor.yweather_temperature_min
      - sensor.yweather_visibility
      - sensor.yweather_wind_speed
      - sun.sun

Sorry, I saw the "woeid: " and thought that was some sort of user id for the yahoo weather component. If not, then disregard that part.

Is that the only group that you have defined?

Do you have any other group that is called “default_view:”?

What do you see now on your default screen after you created that group?

That is the only Group. This is my first system and I am about to do some electrical switches as my first controlling attempt. However, I was using weather grouping to learn before I got into the rest. With the code I posted, I do now have a weather group and the sun position was in it but none of the weather stuff and the badges were still all on the top of the page.

I figured out your problem.

I put the yahoo weather component in my setup that i copied from the docs and everything worked when I put them in a group copied from your code.

Then I added the name: and woeid: to mine (like yours) and the entities in my new group went away.

Then I looked at my states page and found that when you add the name: line it needs to be in all lower case and no spaces and it also adds that entry to the beginning of the entity_id so “sensor.yweather_condition” becomes “sensor.weather_current_yweather_condition”.

try the following:

sensor:
  - platform: yweather
    name: weather_current
    woeid: 12780788
    monitored_conditions:
      - weather
      - weather_current
      - temp_min
      - temp_max
      - wind_speed
      - pressure
      - visibility
      - humidity
      - temperature

group:
  weather_current:
    name: Weather Current
    view: no
    entities:
      - sensor.weather_current_condition
      - sensor.weather_current_current
      - sensor.weather_current_humidity
      - sensor.weather_current_pressure
      - sensor.weather_current_temperature
      - sensor.weather_current_temperature_max
      - sensor.weather_current_temperature_min
      - sensor.weather_current_visibility
      - sensor.weather_current_wind_speed
      - sun.sun

This is the result of the above in my set up:

Then you can play with the name or customization to get the display the way you want it.

Hey! That worked. Now I just have to figure out how to change the names of things in the card. Thank you for your assistance.

The other thing I noticed is that my Sun position is not correct. I will need to figure that out if I want to get outside lights turning off and on at the correct time, which is the whole point of this endevour.

I figured out the sun position issue. It was having Lat and Long reversed. I switched them around and now it is correct.

In your configuration.yaml

customize:
  existing_entity_name:
  friendly_name: something_you_would_like_to_see
1 Like

Where does that go? In the group or by itself?

If you only have a few, in the configuration.yaml. If yer gunna do a lot of them I would recommend a separate file (i.e. customization.yaml with and entry in your configuration.yaml of:

customize: !include: customization.yaml

Yup, I figured it out. Thanks!