Add config flow for cloudflare (#41167)
* 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>
This commit is contained in:
1 parent
e203896638
commit
d8577a1550
14 files changed
+692
-49
No files matched your search
@@ -0,0 +1,15 @@
|
||||
"""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"
|
||||
Reference in new issue
Block a user