Add Config Flow to Obihai (#26354)

This commit is contained in:
Emory Penney 2023-03-04 13:05:49 -08:00 committed by GitHub
parent cb47e61345
commit 4fda11e077
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,6 +4,7 @@ description: Instructions on how to integrate your Obihai device into Home Assis
ha_iot_class: Local Polling ha_iot_class: Local Polling
ha_category: ha_category:
- Sensor - Sensor
ha_config_flow: true
ha_release: 0.99 ha_release: 0.99
ha_codeowners: ha_codeowners:
- '@dshokouhi' - '@dshokouhi'
@ -16,31 +17,16 @@ ha_integration_type: integration
The `obihai` integration allows you to view the call status for your [Obihai devices](https://www.obitalk.com/info/products#home_section). The `obihai` integration allows you to view the call status for your [Obihai devices](https://www.obitalk.com/info/products#home_section).
To enable `obihai` in your installation, add the following to your `configuration.yaml` file: {% include integrations/config_flow.md %}
```yaml {% configuration_basic %}
# Example configuration.yaml entry
sensor:
- platform: obihai
host: 192.168.1.x
```
{% configuration %}
host: host:
description: IP Address of Obihai device description: IP Address of Obihai device
required: true
type: string
username: username:
description: Username for the Obihai device. description: Username for the Obihai device.
required: false
type: string
default: admin
password: password:
description: Password for the Obihai device. description: Password for the Obihai device.
required: false {% endconfiguration_basic %}
type: string
default: admin
{% endconfiguration %}
The following is a list of expected sensors and their expected states when using the `user` account: The following is a list of expected sensors and their expected states when using the `user` account: