Re-introduce default scan interval in Scrape sensor (#74455)

pull/74522/head
Franck Nijhof 2022-07-05 13:41:33 +02:00 committed by Paulus Schoutsen
parent c933a49c71
commit c79b741971
1 changed files with 3 additions and 0 deletions

View File

@ -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"