mlamberts78/weather-chart-card

Daily forecast shows hours not name of day

Closed this issue · 6 comments

MB7i commented

Daily chart shows 12:00 instead of the expected weekdays i.e. Mon, Tue, Wed, ...
Screenshot below shows a daily forecast for reference with the expected hourly format.

  • WEATHER-CHART-CARD VERSION 2.4.2
  • HOME ASSISTANT VERSION 2024.2.5

image

type: vertical-stack
cards:
  - type: custom:weather-chart-card
    entity: weather.forecast_home
    show_main: true
    show_temperature: true
    show_current_condition: true
    show_attributes: true
    show_time: false
    show_day: true
    show_date: true
    show_humidity: true
    show_pressure: false
    show_wind_direction: true
    show_wind_speed: true
    show_sun: true
    show_feels_like: false
    use_12hour_format: false
    icons_size: 25
    animated_icons: true
    icon_style: style1
    forecast:
      precipitation_type: rainfall
      labels_font_size: '11'
      precip_bar_size: '100'
      style: style2
      show_wind_forecast: true
      condition_icons: true
      round_temp: false
      type: daily
    units:
      pressure: ''
      speed: ''
  - type: custom:weather-chart-card
    entity: weather.forecast_home
    show_main: false
    show_temperature: true
    show_current_condition: true
    show_attributes: true
    show_time: false
    show_day: true
    show_date: true
    show_humidity: false
    show_pressure: false
    show_wind_direction: false
    show_wind_speed: false
    show_sun: false
    show_feels_like: false
    use_12hour_format: false
    icons_size: 25
    animated_icons: true
    icon_style: style1
    forecast:
      precipitation_type: probability
      labels_font_size: '11'
      precip_bar_size: '100'
      style: style2
      show_wind_forecast: true
      condition_icons: true
      round_temp: false
      type: hourly
    units:
      pressure: ''
      speed: ''

Please let me know which weather integration you are using, would like to try to reproduce the issue.

MB7i commented

When I came to my dashboards this morning the labels had been weekdays again. After been stuck to the 12:00 for the last few days. No idea what changed, AFAIK nothing on my side.

I'm using https://www.met.no

Mine too w/v2.42 Using "Visual Crossing Weather" integration.
image

@jeffjensen and @MB7i, can you provide me the output of your forecast data? I'm not able to reproduce your problem.

Developer tools - services - Get weather forecast.

MB7i commented

Thanks for trying to reproduce. The day after I opened the ticket the issue disappeared. I assume some API on the source side caused the issue and was fixed.

Same, it no longer happens for me.