Home Assistant Unofficial Reference 2024.12.1
const.py
Go to the documentation of this file.
1 """Constants for Scrape integration."""
2 
3 from __future__ import annotations
4 
5 from datetime import timedelta
6 
7 from homeassistant.const import Platform
8 
9 DOMAIN = "scrape"
10 DEFAULT_ENCODING = "UTF-8"
11 DEFAULT_NAME = "Web scrape"
12 DEFAULT_VERIFY_SSL = True
13 DEFAULT_SCAN_INTERVAL = timedelta(minutes=10)
14 
15 PLATFORMS = [Platform.SENSOR]
16 
17 CONF_ENCODING = "encoding"
18 CONF_SELECT = "select"
19 CONF_INDEX = "index"