mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 19:27:45 +00:00
Disable import-error on upnp
This commit is contained in:
parent
5b51f682ca
commit
6f149d414a
@ -17,6 +17,7 @@ DOMAIN = "upnp"
|
||||
|
||||
def setup(hass, config):
|
||||
"""Register a port mapping for Home Assistant via UPnP."""
|
||||
# pylint: disable=import-error
|
||||
import miniupnpc
|
||||
|
||||
# pylint: disable=no-member
|
||||
|
Loading…
x
Reference in New Issue
Block a user