Skip to content

Commit 809f101

Browse files
authored
Re-introduce default scan interval in Scrape sensor (home-assistant#74455)
1 parent a1a887d commit 809f101

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

homeassistant/components/scrape/sensor.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
"""Support for getting data from websites with scraping."""
22
from __future__ import annotations
33

4+
from datetime import timedelta
45
import logging
56
from typing import Any
67

@@ -39,6 +40,8 @@
3940

4041
_LOGGER = logging.getLogger(__name__)
4142

43+
SCAN_INTERVAL = timedelta(minutes=10)
44+
4245
CONF_ATTR = "attribute"
4346
CONF_SELECT = "select"
4447
CONF_INDEX = "index"

0 commit comments

Comments
 (0)