matc/clusters/
dt_names.rs1pub fn get_device_type_name(id: u32) -> Option<&'static str> {
5 match id {
6 0x000E => Some("Aggregator"),
7 0x002D => Some("Air Purifier"),
8 0x002C => Some("Air Quality Sensor"),
9 0x0028 => Some("Basic Video Player"),
10 0x0018 => Some("Battery Storage"),
11 0x0013 => Some("Bridged Node"),
12 0x0029 => Some("Casting Video Client"),
13 0x0023 => Some("Casting Video Player"),
14 0x0105 => Some("Color Dimmer Switch"),
15 0x010C => Some("Color Temperature Light"),
16 0x0015 => Some("Contact Sensor"),
17 0x0024 => Some("Content App"),
18 0x0840 => Some("Control Bridge"),
19 0x0077 => Some("Cook Surface"),
20 0x0078 => Some("Cooktop"),
21 0x050D => Some("Device Energy Management"),
22 0x0101 => Some("Dimmable Light"),
23 0x010B => Some("Dimmable Plug-In Unit"),
24 0x0104 => Some("Dimmer Switch"),
25 0x0075 => Some("Dishwasher"),
26 0x000A => Some("Door Lock"),
27 0x000B => Some("Door Lock Controller"),
28 0x0510 => Some("Electrical Sensor"),
29 0x050C => Some("Energy EVSE"),
30 0x010D => Some("Extended Color Light"),
31 0x007A => Some("Extractor Hood"),
32 0x002B => Some("Fan"),
33 0x0306 => Some("Flow Sensor"),
34 0x000F => Some("Generic Switch"),
35 0x0309 => Some("Heat Pump"),
36 0x0307 => Some("Humidity Sensor"),
37 0x0130 => Some("Joint Fabric Administrator"),
38 0x007C => Some("Laundry Dryer"),
39 0x0073 => Some("Laundry Washer"),
40 0x0106 => Some("Light Sensor"),
41 0x0079 => Some("Microwave Oven"),
42 0x0027 => Some("Mode Select"),
43 0x0110 => Some("Mounted Dimmable Load Control"),
44 0x010F => Some("Mounted On/Off Control"),
45 0x0090 => Some("Network Infrastructure Manager"),
46 0x0107 => Some("Occupancy Sensor"),
47 0x0100 => Some("On/Off Light"),
48 0x0103 => Some("On/Off Light Switch"),
49 0x010A => Some("On/Off Plug-in Unit"),
50 0x0850 => Some("On/Off Sensor"),
51 0x0014 => Some("OTA Provider"),
52 0x0012 => Some("OTA Requestor"),
53 0x007B => Some("Oven"),
54 0x0011 => Some("Power Source"),
55 0x0305 => Some("Pressure Sensor"),
56 0x0303 => Some("Pump"),
57 0x0304 => Some("Pump Controller"),
58 0x0044 => Some("Rain Sensor"),
59 0x0070 => Some("Refrigerator"),
60 0x0074 => Some("Robotic Vacuum Cleaner"),
61 0x0072 => Some("Room Air Conditioner"),
62 0x0016 => Some("Root Node"),
63 0x0019 => Some("Secondary Network Interface"),
64 0x0076 => Some("Smoke CO Alarm"),
65 0x0017 => Some("Solar Power"),
66 0x0022 => Some("Speaker"),
67 0x0071 => Some("Temperature Controlled Cabinet"),
68 0x0302 => Some("Temperature Sensor"),
69 0x0301 => Some("Thermostat"),
70 0x030A => Some("Thermostat Controller"),
71 0x0091 => Some("Thread Border Router"),
72 0x002A => Some("Video Remote Control"),
73 0x0041 => Some("Water Freeze Detector"),
74 0x050F => Some("Water Heater"),
75 0x0043 => Some("Water Leak Detector"),
76 0x0042 => Some("Water Valve"),
77 0x0202 => Some("Window Covering"),
78 0x0203 => Some("Window Covering Controller"),
79 _ => None
80 }}