Add config flow to fibaro (#21394)

This commit is contained in:
rappenze 2022-03-26 20:50:53 +01:00 committed by GitHub
parent 10b16993fb
commit e7e844de3b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -40,54 +40,7 @@ There is currently support for the following device types within Home Assistant:
They will be automatically added when the `fibaro` hub is connected to Home Assistant.
## Configuration
To use Fibaro devices in your installation, add the following to your `configuration.yaml` file using the IP and port number of your Fibaro controller:
```yaml
fibaro:
gateways:
- url: http://192.168.1.161/api/
username: your_username
password: your_password
device_config:
light_device_name_123:
color: false
white_value: false
reset_color: true
binary_device_name_123:
device_class: "garage_door"
icon: mdi:open
```
{% configuration %}
gateways:
description: List of gateway configurations.
requires: true
type: list
url:
description: The URL for your Fibaro HomeCenter device.
required: true
type: string
username:
description: The username for your Fibaro account.
required: true
type: string
password:
description: The password for your Fibaro account.
required: true
type: string
plugins:
description: Whether to import plugin-generated devices from Fibaro HomeCenter, such as Netatmo and Sonos devices, etc.
required: false
type: boolean
default: false
device_config:
description: Lists device specific parameter or behavior overrides.
required: false
type: list
default: None
{% endconfiguration %}
{% include integrations/config_flow.md %}
<div class='note'>