Add Switcher config flow discovery support (#18346)

This commit is contained in:
Shay Levy 2021-07-19 16:31:33 +03:00 committed by GitHub
parent 4d39d1138f
commit f07977ea3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,39 +24,7 @@ Supported devices:
- Switcher V2 (Qualcomm chipset - from firmware 72.32) - Switcher V2 (Qualcomm chipset - from firmware 72.32)
- Switcher V4 - Switcher V4
To enable it, add an entry to your `configuration.yaml` according to the following configuration instructions. {% include integrations/config_flow.md %}
To retrieve your device's details, please follow the instructions [here](https://github.com/NightRang3r/Switcher-V2-Python).
<div class='note warning'>
Please note, the Switcher-V2-Python script is written in python 2.7 syntax, it won't run with python 3.x.
</div>
<div class='note warning'>
Please note, for the Switcher-V2-Python script to run successfully, you need to configure your device to work locally.
</div>
```yaml
switcher_kis:
phone_id: "REPLACE_WITH_PHONE_ID"
device_id: "REPLACE_WITH_DEVICE_ID"
device_password: "REPLACE_WITH_DEVICE_PASSWORD"
```
{% configuration %}
phone_id:
description: The device's phone id.
required: true
type: string
device_id:
description: The device's id.
required: true
type: string
device_password:
description: The device's password.
required: true
type: string
{% endconfiguration %}
## Sensors ## Sensors