There's this picture on the home assistant front page with an epic top bar. How would one enable such a thing?

you are viewing a single comment's thread
view the rest of the comments
[–] 2 points 2 years ago (2 children)

Do either of you know what entity is being used for weather? I use openweathermap for my weather entities, but none of them provide a nice image of the weather like in the picture above

  • source
  • parent
  • hideshow 4 child comments
  • [–] 2 points 2 years ago

    Maybe a template sensor over the openweathermap_forecast_condition state? You can pretty easily have a template change its icon, and mdi: has all the icons built in.

    Here’s a template I use for current condition in a card, but it should work similarly for the forecast. Or works just need to be applied to the icon of a template sensor.

    {{ iif(
            is_state("weather.openweathermap", "partlycloudy"), "mdi:weather-partly-cloudy", 
            iif(is_state("weather.openweathermap", "clear-night"), "mdi:weather-night",
            iif(is_state("weather.openweathermap", "exceptional"), "mdi:exclamation-thick",
            "mdi:weather-" + states("weather.openweathermap"
            )))) }}
    
  • source
  • parent