Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Config Flow to Obihai #26354

Merged
merged 3 commits into from
Mar 4, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 4 additions & 18 deletions source/_integrations/obihai.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ description: Instructions on how to integrate your Obihai device into Home Assis
ha_iot_class: Local Polling
ha_category:
- Sensor
ha_config_flow: true
ha_release: 0.99
ha_codeowners:
- '@dshokouhi'
Expand All @@ -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).

To enable `obihai` in your installation, add the following to your `configuration.yaml` file:
{% include integrations/config_flow.md %}

```yaml
# Example configuration.yaml entry
sensor:
- platform: obihai
host: 192.168.1.x
```

{% configuration %}
{% configuration_basic %}
host:
description: IP Address of Obihai device
required: true
type: string
username:
description: Username for the Obihai device.
required: false
type: string
default: admin
password:
description: Password for the Obihai device.
required: false
type: string
default: admin
{% endconfiguration %}
{% endconfiguration_basic %}

The following is a list of expected sensors and their expected states when using the `user` account:

Expand Down