Update fritz for config flow (#17561)

This commit is contained in:
Simone Chemelli 2021-04-25 14:08:20 +02:00 committed by GitHub
parent 70a593db0a
commit e888c75f44
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,6 +5,12 @@ ha_category:
- Presence Detection
ha_release: '0.10'
ha_domain: fritz
ha_zeroconf: true
ha_config_flow: true
ha_codeowners:
- '@mammuth'
- '@AaronDavidSchneider'
- '@chemelli74'
ha_iot_class: Local Polling
ha_platforms:
- device_tracker
@ -12,32 +18,7 @@ ha_platforms:
The `fritz` platform offers presence detection by looking at connected devices to a [AVM FRITZ!Box](https://avm.de/produkte/fritzbox/) based router.
## Configuration
To use an FRITZ!Box router in your installation, add the following to your `configuration.yaml` file:
```yaml
# Example configuration.yaml entry
device_tracker:
- platform: fritz
```
{% configuration %}
host:
description: The IP address of your router, e.g., `192.168.178.1`. It is optional since every FRITZ!Box is also reachable by using the IP address 169.254.1.1.
required: false
type: string
default: 169.254.1.1
username:
description: The username of an user with administrative privileges, usually `admin`.
required: false
type: string
default: admin
password:
description: The password for your given admin account.
required: false
type: string
{% endconfiguration %}
{% include integrations/config_flow.md %}
<div class='note'>
TR-064 needs to be enabled in the FRITZ!Box network settings for Home Assistant to login and read device info.