YWeather scan interval

Trying to get Yweather scan interval to run every 30 min instead of default of 1 hr
below is what I have in configuration.yaml.

Does anyone know if the scan_interval is seconds minutes etc…
I have tried 30 what’s below is current attempt to find correct format.

# Weather Prediction
sensor:
  - platform: yweather
    scan_interval: 0:30:00
    monitored_conditions:
      - weather
      - weather_current
      - temperature
      - temp_min
      - temp_max
      - humidity
      - wind_speed
#      - pressure
#      - visibility

Thanks for any assistance.

yweather has a pre-set interval of 10 min.

Thanks for the reply.

If I click on the sensor I get a different value for each one for checked ago time.

  • weather = 22 hours ago
  • weather_current = 2 hours ago
  • temperature = 50 min ago
  • temp_min = 3 hours ago
  • temp_max = 5 hours ago
  • humidity = 51 min ago
  • wind_speed = 9 hours ago

Any idea why they are all different and if you can set the scan_interval for
each item, or is something just wrong?

Could be that my last change (removing the throttle) broke the platform. If there is no change in the conditions the states will not change.

I will check it again when I stop editing automations and let it run for a while.

Is the scan_interval: minutes?

it’s seconds.

This PR re-adds the throttle.

I am running 0.48.0 on HASSbian

So to set for 15 min
scan_interval: 900

Checked after reboot and running for a hour
I am assuming the default scan is 1 hour

-weather = did not scan after 1 hour

  • weather_current = did not scan after 1 hour
  • temperature = did scan and update
  • temp_min = did not scan after 1 hour
  • temp_max = did not scan after 1 hour
  • humidity = did scan and update
  • wind_speed = did not scan after 1 hour