hass-core/homeassistant/components/scrape/const.py
epenet 4cce359960
Fix legacy scrape scan interval (#81764)
* Fix legacy scrape scan interval

* Adjust init

* Adjust tests

* Clearer default
2022-11-15 13:39:30 +01:00

16 lines
344 B
Python

"""Constants for Scrape integration."""
from __future__ import annotations
from datetime import timedelta
from homeassistant.const import Platform
DOMAIN = "scrape"
DEFAULT_NAME = "Web scrape"
DEFAULT_VERIFY_SSL = True
DEFAULT_SCAN_INTERVAL = timedelta(minutes=10)
PLATFORMS = [Platform.SENSOR]
CONF_SELECT = "select"
CONF_INDEX = "index"