realthk
December 11, 2022, 12:39pm
20
No, I’d like to have much less frequent updates than 10 minutes, that is why I usually set up 3600 seconds in yaml, but the sensors are still updated every 10 minutes.
Seems to be a bug, so I’ve created a ticket about it.
opened 10:30AM - 11 Dec 22 UTC
integration: scrape
### The problem
As [it is stated in the docs of scrape platform](https://www.ho… me-assistant.io/integrations/scrape/#scan_interval), `scan_interval` option should define the frequency of calling the endpoint.
But a simple config like this:
```
scrape:
- resource: https://www.vanenet.hu
scan_interval: 3600
sensor:
- name: vanenet
select: "body"
```
has no effect whatsoever, scans still done every 10 minutes instead of the specified 1 hour:
```
2022-12-11 10:59:14.106 DEBUG (MainThread) [homeassistant.components.scrape.sensor] Parsed value: Van!
2022-12-11 11:09:14.487 DEBUG (MainThread) [homeassistant.components.scrape.sensor] Parsed value: Van!
2022-12-11 11:19:14.388 DEBUG (MainThread) [homeassistant.components.scrape.sensor] Parsed value: Van!
```
### What version of Home Assistant Core has the issue?
2022.12.1
### What was the last working version of Home Assistant Core?
_No response_
### What type of installation are you running?
Home Assistant OS
### Integration causing the issue
scrape
### Link to integration documentation on our website
www.home-assistant.io/integrations/scrape
### Diagnostics information
_No response_
### Example YAML snippet
_No response_
### Anything in the logs that might be useful for us?
_No response_
### Additional information
_No response_
2 Likes