Customize Weather Legends yr

Good Evening,

is there a chance to customize the legends of the weather data of yr? Or even hide them?

The data comes out of the configuration.yaml

Weather Prediction

sensor:
  - platform: yr
    monitored_conditions:
      - temperature
      - symbol
      - precipitation
      - windSpeed
      - pressure
      - windDirection
      - humidity
      - fog
      - cloudiness
      - lowClouds
      - mediumClouds
      - highClouds
      - dewpointTemperature

name: and friendly_name: are not working…

Thanks in advance and greetings from Germany

Thorben

1 Like

Thanks, already know the how-to…

My question here is:

What is the correct naming for the monitored conditions to be renamed like a sensor?

For example like:

" sensor.living_room_motion:"

Thanks in advance

Thorben

Then I do not understand what you want to do.

Simply rename the legend for example “yr fog” , “yr pressure” to “fog” , “pressure” and so on

Use friendly_name as described in the link I posted.

1 Like

Recreated my configuration.yaml and now it is working with friendly_name:

Thanks a lot!

Hello, i will do the same thing… but it’s dosn’t work :frowning:

Where is my fault:

 homeassistant:
  # Name of the location where Home Assistant is running
  name: Home
  # Location required to calculate the time the sun rises and sets
  latitude: xx.xxxx
  longitude: x.xxxx
  # Impacts weather/sunrise data (altitude above sea level in meters)
  elevation: 559
  # metric for Metric, imperial for Imperial
  unit_system: metric
  # Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
  time_zone: Europe/Zurich

  customize:
    # Add an entry for each entity that you want to overwrite.
   sensor.yr_symbol:
    friendly_name: Nest
   sensor.yr_wind_speed:
     friendly_name: Wind
     icon: mdi:Speedometer
# Show links to resources in log and frontend
#introduction:

The icon and the name doesn’t change…

Now, with this configuration it’s work:

    homeassistant:
      # Name of the location where Home Assistant is running
      name: Home
      # Location required to calculate the time the sun rises and sets
      latitude: xx.xxx
      longitude: x.xxxx
      # Impacts weather/sunrise data (altitude above sea level in meters)
      elevation: 559
      # metric for Metric, imperial for Imperial
      unit_system: metric
      # Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
      time_zone: Europe/Zurich
      
      customize: !include customize.yaml

and in the customize.yaml :

  sensor.yr_wind_speed:
  friendly_name: Wind
  icon: mdi:speedometer

 sensor.yr_symbol:
  friendly_name: Aktuelles Wettter
1 Like