* add config flow for cloudflare * Create const.py * work on flow. * remove const. * lint. * Apply suggestions from code review Co-authored-by: J. Nick Koston <nick@koston.org> * Update config_flows.py * Update homeassistant/components/cloudflare/strings.json * Apply suggestions from code review * Apply suggestions from code review * Apply suggestions from code review * Update strings.json * Apply suggestions from code review * Update __init__.py * Update __init__.py Co-authored-by: J. Nick Koston <nick@koston.org>
15 lines
258 B
Python
15 lines
258 B
Python
"""Constants for Cloudflare."""
|
|
|
|
DOMAIN = "cloudflare"
|
|
|
|
# Config
|
|
CONF_RECORDS = "records"
|
|
|
|
# Data
|
|
DATA_UNDO_UPDATE_INTERVAL = "undo_update_interval"
|
|
|
|
# Defaults
|
|
DEFAULT_UPDATE_INTERVAL = 60 # in minutes
|
|
|
|
# Services
|
|
SERVICE_UPDATE_RECORDS = "update_records"
|