File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
custom_components/remote_homeassistant Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 1313 "zeroconf" : [
1414 " _home-assistant._tcp.local."
1515 ],
16- "version" : " 3.9 " ,
16+ "version" : " 3.10 " ,
1717 "iot_class" : " local_push"
1818}
Original file line number Diff line number Diff line change 33from homeassistant .helpers .dispatcher import async_dispatcher_connect
44from homeassistant .helpers .entity import DeviceInfo , Entity
55
6- from .const import CONF_ENTITY_PREFIX , CONF_SECURE
6+ from .const import DOMAIN , CONF_ENTITY_PREFIX , CONF_SECURE
77
88
99async def async_setup_entry (hass , config_entry , async_add_entities ):
@@ -28,6 +28,7 @@ def __init__(self, config_entry):
2828 self ._attr_device_info = DeviceInfo (
2929 name = "Home Assistant" ,
3030 configuration_url = f"{ proto } ://{ host } :{ port } " ,
31+ identifiers = {(DOMAIN , f"remote_{ self ._attr_unique_id } " )},
3132 )
3233
3334 @property
You can’t perform that action at this time.
0 commit comments