50
How do you get the top bar? (www.home-assistant.io)

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
[-] CondorWonder@lemmy.ca 2 points 10 months 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"
        )))) }}
this post was submitted on 04 Jan 2024
50 points (94.6% liked)

homeassistant

11921 readers
2 users here now

Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io

founded 1 year ago
MODERATORS