mirror of
https://github.com/home-assistant/core.git
synced 2026-05-21 07:50:23 +01:00
4cce359960
* Fix legacy scrape scan interval * Adjust init * Adjust tests * Clearer default
17 lines
344 B
Python
17 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"
|