mirror of
https://github.com/home-assistant/core.git
synced 2025-04-29 03:37:51 +00:00
parent
66b2ed930c
commit
e1d1f21a74
@ -3,7 +3,6 @@ from datetime import datetime
|
|||||||
import logging
|
import logging
|
||||||
|
|
||||||
from homeassistant.core import callback
|
from homeassistant.core import callback
|
||||||
from homeassistant.helpers import device_registry as dr
|
|
||||||
from homeassistant.helpers.dispatcher import async_dispatcher_connect
|
from homeassistant.helpers.dispatcher import async_dispatcher_connect
|
||||||
from homeassistant.helpers.entity import Entity
|
from homeassistant.helpers.entity import Entity
|
||||||
from homeassistant.helpers.typing import HomeAssistantType
|
from homeassistant.helpers.typing import HomeAssistantType
|
||||||
@ -108,9 +107,6 @@ class UpnpSensor(Entity):
|
|||||||
'identifiers': {
|
'identifiers': {
|
||||||
(DOMAIN_UPNP, self.unique_id)
|
(DOMAIN_UPNP, self.unique_id)
|
||||||
},
|
},
|
||||||
'connections': {
|
|
||||||
(dr.CONNECTION_UPNP, self._device.udn)
|
|
||||||
},
|
|
||||||
'name': self.name,
|
'name': self.name,
|
||||||
'manufacturer': self._device.manufacturer,
|
'manufacturer': self._device.manufacturer,
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user