core: UPnP Integration doesn't work for Huawei HG255s
Home Assistant release with the issue:
0.81.0b1
Last working Home Assistant release (if known): NA Operating environment (Hass.io/Docker/Windows/etc.):
Raspbian Stretch
Component/platform:
Upnp
Description of problem:
My home assistant installation find my router as an upnp provider but when I add the device to via integrations panel component gives the error below doesn’t work.
I also try to add upnp line to my config and it does not change anything.
UPnP enabled in my router device and I am using a raspberry pi (pi-hole) for dhcp.
Problem-relevant configuration.yaml
entries and (fill out even if it seems unimportant):
Traceback (if applicable):
Error setting up entry Huawei Home Gateway for upnp
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/config_entries.py", line 241, in async_setup
result = await component.async_setup_entry(hass, self)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/upnp/__init__.py", line 128, in async_setup_entry
await device.async_add_port_mappings(ports, local_ip=local_ip)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/upnp/device.py", line 69, in async_add_port_mappings
internal_port)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/upnp/device.py", line 90, in _async_add_port_mapping
lease_duration=None)
File "/srv/homeassistant/lib/python3.5/site-packages/async_upnp_client/igd.py", line 195, in async_add_port_mapping
await action.async_call(
AttributeError: 'NoneType' object has no attribute 'async_call'
Additional information:
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 15 (15 by maintainers)
Commits related to this issue
- Upgrade to async_upnp_client==0.13.0, fixing #17753 — committed to StevenLooman/home-assistant by StevenLooman 6 years ago
- Fixes for upnp-component/#17753 and missing hass-data when only setup from config entry (#17868) * Upgrade to async_upnp_client==0.13.0, fixing #17753 * Fix missing 'local_ip' when upnp-component ... — committed to home-assistant/core by StevenLooman 6 years ago
So we can jump start, can you enable upnp related logging ?
To enable logging, add this to your Home Assistant configuration.yaml:
Then share your logs in hastebin.com