File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
custom_components/remote_homeassistant Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 11import homeassistant
22from homeassistant .components .http import HomeAssistantView
33from homeassistant .helpers .system_info import async_get_system_info
4+ from homeassistant .helpers .instance_id import async_get as async_get_instance_id
45
56ATTR_INSTALLATION_TYPE = "installation_type"
67
@@ -17,7 +18,7 @@ async def get(self, request):
1718 system_info = await async_get_system_info (hass )
1819 return self .json (
1920 {
20- "uuid" : await hass . helpers . instance_id . async_get ( ),
21+ "uuid" : await async_get_instance_id ( hass ),
2122 "location_name" : hass .config .location_name ,
2223 "ha_version" : homeassistant .const .__version__ ,
2324 "installation_type" : system_info [ATTR_INSTALLATION_TYPE ],
You can’t perform that action at this time.
0 commit comments