mirror of
https://github.com/home-assistant/core.git
synced 2026-05-17 14:01:34 +01:00
22 lines
445 B
Python
22 lines
445 B
Python
"""Constants for Scrape integration."""
|
|
|
|
from __future__ import annotations
|
|
|
|
from datetime import timedelta
|
|
|
|
from homeassistant.const import Platform
|
|
|
|
DOMAIN = "scrape"
|
|
DEFAULT_ENCODING = "UTF-8"
|
|
DEFAULT_NAME = "Web scrape"
|
|
DEFAULT_VERIFY_SSL = True
|
|
DEFAULT_SCAN_INTERVAL = timedelta(minutes=10)
|
|
|
|
PLATFORMS = [Platform.SENSOR]
|
|
|
|
CONF_ADVANCED = "advanced"
|
|
CONF_AUTH = "auth"
|
|
CONF_ENCODING = "encoding"
|
|
CONF_SELECT = "select"
|
|
CONF_INDEX = "index"
|