mirror of
https://github.com/home-assistant/core.git
synced 2025-08-03 12:45:28 +02:00
Re-introduce default scan interval in Scrape sensor (#74455)
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
"""Support for getting data from websites with scraping."""
|
||||
from __future__ import annotations
|
||||
|
||||
from datetime import timedelta
|
||||
import logging
|
||||
from typing import Any
|
||||
|
||||
@@ -39,6 +40,8 @@ from homeassistant.helpers.typing import ConfigType, DiscoveryInfoType
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
SCAN_INTERVAL = timedelta(minutes=10)
|
||||
|
||||
CONF_ATTR = "attribute"
|
||||
CONF_SELECT = "select"
|
||||
CONF_INDEX = "index"
|
||||
|
Reference in New Issue
Block a user