-
- Downloads
Add config_flow and stream selection to foscam (#41429)
* Add config_flow and stream selection to foscam
* Simplify config_flow steps
* Make debug log entry more useful
* Deprecate config and platform schemas
* Simplify config loading
* Add config flow testing
* Remove unneeded CONFIG_SCHEMA deprecation
* Improve test coverage
* Unload service by tracking loaded entries
* Address comment
Co-authored-by:
Paulus Schoutsen <paulus@home-assistant.io>
Showing
- .coveragerc 1 addition, 1 deletion.coveragerc
- homeassistant/components/foscam/__init__.py 50 additions, 0 deletionshomeassistant/components/foscam/__init__.py
- homeassistant/components/foscam/camera.py 96 additions, 88 deletionshomeassistant/components/foscam/camera.py
- homeassistant/components/foscam/config_flow.py 123 additions, 0 deletionshomeassistant/components/foscam/config_flow.py
- homeassistant/components/foscam/const.py 7 additions, 2 deletionshomeassistant/components/foscam/const.py
- homeassistant/components/foscam/manifest.json 1 addition, 0 deletionshomeassistant/components/foscam/manifest.json
- homeassistant/components/foscam/strings.json 24 additions, 0 deletionshomeassistant/components/foscam/strings.json
- homeassistant/components/foscam/translations/en.json 24 additions, 0 deletionshomeassistant/components/foscam/translations/en.json
- homeassistant/generated/config_flows.py 1 addition, 0 deletionshomeassistant/generated/config_flows.py
- requirements_test_all.txt 3 additions, 0 deletionsrequirements_test_all.txt
- tests/components/foscam/__init__.py 1 addition, 0 deletionstests/components/foscam/__init__.py
- tests/components/foscam/test_config_flow.py 358 additions, 0 deletionstests/components/foscam/test_config_flow.py
Loading
Please register or sign in to comment