perf: remove unused device info (#1574)
Some checks failed
Tests / check-rule-format (push) Failing after -8m20s
Validate / validate-hassfest (push) Failing after -8m21s
Validate / validate-hacs (push) Failing after -8m14s
Validate / validate-lint (push) Failing after -8m22s
Validate / validate-setup (push) Failing after -8m20s

This commit is contained in:
Li Shuzhen
2025-12-26 08:42:23 +08:00
committed by GitHub
parent 75390a3d83
commit f4d591b4d3
3 changed files with 19 additions and 21 deletions

View File

@@ -1394,19 +1394,9 @@ class MipsLocalClient(_MipsClient):
continue
device_list[did] = {
'did': did,
'name': name,
'urn': urn,
'model': model,
'online': info.get('online', False),
'icon': info.get('icon', None),
'fw_version': None,
'home_id': '',
'home_name': '',
'room_id': info.get('roomId', ''),
'room_name': info.get('roomName', ''),
'specv2_access': info.get('specV2Access', False),
'push_available': info.get('pushAvailable', False),
'manufacturer': model.split('.')[0],
'push_available': info.get('pushAvailable', False)
}
return device_list