s-hadinger 36de007909
Berry replace string.formatwith format (#18945)
* Berry replace `string.format`with `format`

* remove import.string
2023-06-23 18:33:31 +02:00

92 lines
2.1 KiB
Plaintext

import json
import string
var f = open("vendors.json")
var j = json.load(f.read())
f.close()
for elt: j["vendorInfo"]
print(format(' { 0x%04X, "%s"},', elt['vendorID'], elt['vendorName']))
end
#-
{ 0x100B, "Signify"},
{ 0x101D, "Assa Abloy"},
{ 0x1021, "Legrand Group"},
{ 0x1037, "NXP Semiconductors"},
{ 0x105E, "Schneider"},
{ 0x109B, "Leviton"},
{ 0x10D0, "Qorvo"},
{ 0x10EE, "UEI"},
{ 0x10F2, "ubisys"},
{ 0x111D, "Comcast Communications"},
{ 0x115A, "Nanoleaf"},
{ 0x115F, "Aqara"},
{ 0x1160, "Sengled"},
{ 0x1168, "Leedarson"},
{ 0x117E, "Feibit"},
{ 0x1188, "TP-Link"},
{ 0x118C, "Midea Group"},
{ 0x120B, "HEIMAN"},
{ 0x1217, "Amazon Alexa"},
{ 0x1219, "ORVIBO"},
{ 0x125D, "Tuya"},
{ 0x127F, "Nordic Semiconductor ASA"},
{ 0x1280, "Siterwell"},
{ 0x1286, "CoolKit"},
{ 0x128F, "EGLO"},
{ 0x130A, "Eve"},
{ 0x130D, "BouffaloLab"},
{ 0x1312, "Yeelight"},
{ 0x131B, "Espressif Systems"},
{ 0x131E, "CAME S.p.A."},
{ 0x131F, "Longan.link"},
{ 0x1321, "SONOFF"},
{ 0x1333, "Becker Antriebe"},
{ 0x1339, "GE Lighting, a Savant company"},
{ 0x133F, "ASR"},
{ 0x1342, "Beken Corporation"},
{ 0x1344, "Eltako"},
{ 0x1345, "Meross"},
{ 0x1346, "Rafael"},
{ 0x1349, "Apple Home"},
{ 0x134E, "tado"},
{ 0x134F, "mediola"},
{ 0x1351, "HooRii Technology"},
{ 0x135D, "Nuki"},
{ 0x1362, "deveritec GmbH"},
{ 0x1365, "Dooya"},
{ 0x136E, "Ambi Labs Limited"},
{ 0x1371, "Tridonic"},
{ 0x1372, "innovation matters"},
{ 0x137F, "NEO"},
{ 0x1381, "Amazon Prime Video"},
{ 0x1384, "Apple Keychain"},
{ 0x1386, "Skylux"},
{ 0x1387, "Qianyan"},
{ 0x138A, "Nature"},
{ 0x1391, "Kasa"},
{ 0x1392, "Tapo"},
{ 0x1397, "SwitchBot"},
{ 0x139C, "Zemismart Technology Limited"},
{ 0x1400, "Uascent"},
{ 0x1403, "Arlec Australia"},
{ 0x1404, "Phaten"},
{ 0x1407, "ThirdReality"},
{ 0x1410, "Quectel"},
{ 0x1413, "1Home"},
{ 0x1415, "Caveman"},
{ 0x1419, "Lorex"},
{ 0x141B, "Rang Dong VN"},
{ 0x141E, "TUO Accessories LLC"},
{ 0x141F, "Ductech"},
{ 0x142D, "QH"},
{ 0x142F, "QIACHIP"},
{ 0x6006, "Google LLC"},
-#