Re-introduce default scan interval in Scrape sensor (#74455)
This commit is contained in:
parent
a1a887ddac
commit
809f101f55
1 changed files with 3 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue