Revert zoneminder config flow (#15025)

This reverts commit 2b2b47e41caf7fd828feb73b92f127ba9198c69a.
This commit is contained in:
Martin Hjelmare 2020-10-07 17:11:25 +02:00 committed by Franck Nijhof
parent 62b598d4f5
commit 0e5ccfd0ea
No known key found for this signature in database
GPG Key ID: D62583BA8AB11CA3

View File

@ -11,7 +11,6 @@ ha_release: 0.31
ha_iot_class: Local Polling
ha_codeowners:
- '@rohankapoorcom'
- '@vangorra'
ha_domain: zoneminder
---
@ -26,8 +25,11 @@ There is currently support for the following device types within Home Assistant:
## Configuration
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'.
```yaml
# Example configuration.yaml entry
zoneminder:
- host: ZM_HOST
```
{% configuration %}
host:
@ -64,9 +66,23 @@ password:
type: string
{% endconfiguration %}
## Service
### Full configuration
Once loaded, the `zoneminder` integration will expose a service (`set_run_state`) that can be used to change the current run state of ZoneMinder.
```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.
| Service data attribute | Optional | Description |
|:-----------------------|:---------|:----------------------------------|
@ -93,6 +109,8 @@ 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