Add config flow and device registry to fritzbox integration (#12980)

* Update fritzbox.markdown

* Update fritzbox.markdown

* Update fritzbox.markdown

* Update fritzbox.markdown

* Update fritzbox.markdown

* Update fritzbox.markdown

* Update fritzbox.markdown

* Update fritzbox.markdown

* ✏️ Tweak

Co-authored-by: Franck Nijhof <git@frenck.dev>
This commit is contained in:
escoand 2020-04-20 15:08:48 +02:00 committed by GitHub
parent 24eaf54d63
commit 568871071a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,31 +30,38 @@ There is currently support for the following device types within Home Assistant:
- [FRITZ!DECT 301](https://en.avm.de/products/fritzdect/fritzdect-301/) - [FRITZ!DECT 301](https://en.avm.de/products/fritzdect/fritzdect-301/)
- [Eurotronic Comet DECT](https://eurotronic.org/produkte/elektronische-heizkoerperthermostate/sparmatic-comet/) - [Eurotronic Comet DECT](https://eurotronic.org/produkte/elektronische-heizkoerperthermostate/sparmatic-comet/)
## Setup ## Configuration
To add the AVM FRITZ!Box integration to your installation, go to **Configuration** -> **Integrations** in the UI, click the button with `+` sign and from the list of integrations select **AVM FRITZ!Box**.
If you have enabled SSDP discovery, its likely that you just have to confirm the detected device with username and password.
### Configuration via YAML
YAML configuration is still around for people that prefer YAML, but it's deprecated and you should not use it anymore.
```yaml ```yaml
# Example configuration.yaml entry # Example configuration.yaml entry
fritzbox: fritzbox:
devices: devices:
- host: fritz.box - password: YOUR_PASSWORD
username: YOUR_USERNAME
password: YOUR_PASSWORD
``` ```
{% configuration %} {% configuration %}
devices: devices:
description: A list of FRITZ!Box devices. description: A list of FRITZ!Box devices.
required: true
type: map type: map
keys: keys:
host: host:
description: The hostname or IP address of the FRITZ!Box. description: The hostname or IP address of the FRITZ!Box.
required: true required: false
type: string type: string
default: fritz.box
username: username:
description: The username for Smart Home access. description: The username for Smart Home access.
required: true required: false
type: string type: string
default: admin
password: password:
description: The password of the user. description: The password of the user.
required: true required: true