How to reduce weather update interval

I use custom_components weather

configuration.yaml is:

weather:
  - platform: hfweather
    api_key: ***********************************
    location: ************

but i found weather update Too often, the interval about 30 seconds

how to slow it down???

Use scan_interval

Example (60 second interval):

weather:
  - platform: hfweather
    api_key: ***********************************
    location: ************
    scan_interval: 60

it works thanks a lot :grinning:

1 Like