upnp: Remove manual configuration, add debug information (#24309)

This commit is contained in:
Steven Looman 2022-10-03 14:15:29 +02:00 committed by GitHub
parent b41037f94d
commit 04d1d5cfc4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,11 +30,17 @@ Please note that UPnP or NAT-PMP needs to be enabled on your router for this int
{% include integrations/config_flow.md %} {% include integrations/config_flow.md %}
## Manual configuration ## Debugging integration
Alternatively, you can use YAML by adding the following section to your `configuration.yaml` file: If you have problems with this integration you can add debug prints to the log.
```yaml ```yaml
# Example configuration.yaml entry logger:
upnp: default: info
logs:
homeassistant.components.upnp: debug
async_upnp_client: debug
async_upnp_client.traffic: error
``` ```
When creating an issue, please include the (relevant) logging with the issue. Any sensitive information such as IPs can be obfuscated.