Update zoneminder documentation to support config flow. (#13832)

Co-authored-by: Franck Nijhof <git@frenck.dev>
This commit is contained in:
Robert Van Gorkom 2020-09-28 01:08:54 -07:00 committed by GitHub
parent 035c6cd96f
commit 2b2b47e41c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,6 +11,7 @@ ha_release: 0.31
ha_iot_class: Local Polling
ha_codeowners:
- '@rohankapoorcom'
- '@vangorra'
ha_domain: zoneminder
---
@ -25,11 +26,8 @@ There is currently support for the following device types within Home Assistant:
## Configuration
```yaml
# Example configuration.yaml entry
zoneminder:
- host: ZM_HOST
```
1. From the Home Assistant front-end, navigate to 'Configuration' then 'Integrations'. Under 'Set up a new integration' locate 'ZoneMinder' and click 'Configure'.
2. Enter the information appropriate for the server and click 'Submit'.
{% configuration %}
host:
@ -66,23 +64,9 @@ password:
type: string
{% endconfiguration %}
### Full configuration
## Service
```yaml
# Example configuration.yaml entry
zoneminder:
- host: ZM_HOST
path: ZM_PATH
path_zms: ZM_PATH_ZMS
ssl: true
verify_ssl: true
username: YOUR_USERNAME
password: YOUR_PASSWORD
```
### Service
Once loaded, the `zoneminder` platform will expose a service (`set_run_state`) that can be used to change the current run state of ZoneMinder.
Once loaded, the `zoneminder` integration will expose a service (`set_run_state`) that can be used to change the current run state of ZoneMinder.
| Service data attribute | Optional | Description |
|:-----------------------|:---------|:----------------------------------|
@ -109,8 +93,6 @@ Each binary_sensor created will be named after the hostname used when configurin
The `zoneminder` camera platform lets you monitor the current stream of your [ZoneMinder](https://www.zoneminder.com) cameras.
### Configuration
To set it up, add the following information to your `configuration.yaml` file:
```yaml