Add config flow to canary (#40055)
* Create config_flow.py * Update config_flow.py * work on config flow * Update test_config_flow.py * Update __init__.py * Update camera.py * Update test_config_flow.py * Update test_config_flow.py * Update config_flow.py * Update conftest.py * Update test_config_flow.py * Update test_init.py * Update test_init.py * Apply suggestions from code review * Update camera.py * Update test_init.py * Update camera.py * Update __init__.py * Update test_init.py * Update test_init.py * Update __init__.py * Update __init__.py * Apply suggestions from code review * Update __init__.py * Update test_init.py * Update __init__.py * Update __init__.py * Update config_flow.py * Update test_config_flow.py * Update config_flow.py * Update config_flow.py
This commit is contained in:
parent
94dfb66824
commit
f563068ce6
15 changed files with 612 additions and 83 deletions
14
homeassistant/components/canary/const.py
Normal file
14
homeassistant/components/canary/const.py
Normal file
|
@ -0,0 +1,14 @@
|
|||
"""Constants for the Canary integration."""
|
||||
|
||||
DOMAIN = "canary"
|
||||
|
||||
# Configuration
|
||||
CONF_FFMPEG_ARGUMENTS = "ffmpeg_arguments"
|
||||
|
||||
# Data
|
||||
DATA_CANARY = "canary"
|
||||
DATA_UNDO_UPDATE_LISTENER = "undo_update_listener"
|
||||
|
||||
# Defaults
|
||||
DEFAULT_FFMPEG_ARGUMENTS = "-pred 1"
|
||||
DEFAULT_TIMEOUT = 10
|
Loading…
Add table
Add a link
Reference in a new issue