pkissling / clock-weather-card

A Home Assistant Card indicating today's date/time, along with an iOS inspired weather forecast for the next days with animated icons
Other
303 stars 65 forks source link

Request for customized weather forecast for specific dates and customizable color for the bottom temperature bar. #404

Closed maodun96 closed 2 days ago

maodun96 commented 1 week ago

Is your feature request related to a problem? Please describe.

The color of the bottom temperature bar is not consistent with the customized lovelace panel style, so I hope to be able to customize the color of the temperature bar. My weather entity provides yesterday's weather conditions. It will be displayed in this card as well. So I hope to be able to specify the weather for the "future" days.

Describe the solution you'd like

I hope to be able to customize the color of the temperature bar. Able to specify the weather for the "future" days.

Describe alternatives you've considered

I've thought about using card mod to change the color of the temperature bar. creating a new weather entity, and mapping the future weather forecast (to eliminate yesterday's weather). I haven't tried it yet.

Additional context image

pkissling commented 2 days ago

hi @maodun96, regarding the issue that your card is showing yesterdays weather: this is an issue of your weather provider publishing past forecasts. the card simply displays the forecast provided by the weather integration. regarding the background of the temperature bars: feel free to override the css using card-mod:

- type: custom:clock-weather-card
  # ...
  card_mod:
    style: |
      forecast-temperature-bar-background {
        background: transparent !important;
      }