Don't create connections between sensors. Fixes #22787 (#23202)

pull/23215/head
Steven Looman 2019-04-18 22:47:17 +02:00 committed by Paulus Schoutsen
parent 66b2ed930c
commit e1d1f21a74
1 changed files with 0 additions and 4 deletions

View File

@ -3,7 +3,6 @@ from datetime import datetime
import logging
from homeassistant.core import callback
from homeassistant.helpers import device_registry as dr
from homeassistant.helpers.dispatcher import async_dispatcher_connect
from homeassistant.helpers.entity import Entity
from homeassistant.helpers.typing import HomeAssistantType
@ -108,9 +107,6 @@ class UpnpSensor(Entity):
'identifiers': {
(DOMAIN_UPNP, self.unique_id)
},
'connections': {
(dr.CONNECTION_UPNP, self._device.udn)
},
'name': self.name,
'manufacturer': self._device.manufacturer,
}