@riddix/hamh 2.1.0-alpha.745 → 2.1.0-alpha.747
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/backend/cli.js
CHANGED
|
@@ -124084,108 +124084,126 @@ var init_controller_compat = __esm({
|
|
|
124084
124084
|
// 0x6006 Google Home
|
|
124085
124085
|
4631: "alexa",
|
|
124086
124086
|
// 0x1217 Amazon Alexa
|
|
124087
|
-
4448: "alexa"
|
|
124087
|
+
4448: "alexa",
|
|
124088
124088
|
// 0x1160 Amazon (some Alexa ecosystems)
|
|
124089
|
+
4447: "aqara"
|
|
124090
|
+
// 0x115F Aqara Home
|
|
124089
124091
|
};
|
|
124090
124092
|
deviceTypeIdSupport = {
|
|
124091
124093
|
43: {
|
|
124092
124094
|
apple: "no",
|
|
124093
124095
|
google: "yes",
|
|
124094
124096
|
alexa: "yes",
|
|
124097
|
+
aqara: "yes",
|
|
124095
124098
|
note: "Apple Home has no standalone fan."
|
|
124096
124099
|
},
|
|
124097
124100
|
45: {
|
|
124098
124101
|
apple: "no",
|
|
124099
124102
|
google: "yes",
|
|
124100
124103
|
alexa: "yes",
|
|
124104
|
+
aqara: "yes",
|
|
124101
124105
|
note: "Apple Home does not list air purifiers."
|
|
124102
124106
|
},
|
|
124103
124107
|
34: {
|
|
124104
124108
|
apple: "no",
|
|
124105
124109
|
google: "yes",
|
|
124106
124110
|
alexa: "no",
|
|
124107
|
-
|
|
124111
|
+
aqara: "yes",
|
|
124112
|
+
note: "Google Home and Aqara show Matter speakers."
|
|
124108
124113
|
},
|
|
124109
124114
|
40: {
|
|
124110
124115
|
apple: "no",
|
|
124111
124116
|
google: "no",
|
|
124112
124117
|
alexa: "no",
|
|
124113
|
-
|
|
124118
|
+
aqara: "yes",
|
|
124119
|
+
note: "TV/media types only show in Aqara Home here."
|
|
124114
124120
|
},
|
|
124115
124121
|
773: {
|
|
124116
124122
|
apple: "no",
|
|
124117
124123
|
google: "yes",
|
|
124118
124124
|
alexa: "no",
|
|
124119
|
-
|
|
124125
|
+
aqara: "yes",
|
|
124126
|
+
note: "Google Home and Aqara show pressure sensors."
|
|
124120
124127
|
},
|
|
124121
124128
|
774: {
|
|
124122
124129
|
apple: "no",
|
|
124123
124130
|
google: "yes",
|
|
124124
124131
|
alexa: "no",
|
|
124132
|
+
aqara: "unknown",
|
|
124125
124133
|
note: "Only Google Home shows flow sensors."
|
|
124126
124134
|
},
|
|
124127
124135
|
44: {
|
|
124128
124136
|
apple: "no",
|
|
124129
124137
|
google: "yes",
|
|
124130
124138
|
alexa: "yes",
|
|
124139
|
+
aqara: "yes",
|
|
124131
124140
|
note: "Apple Home does not show air quality."
|
|
124132
124141
|
},
|
|
124133
124142
|
23: {
|
|
124134
124143
|
apple: "no",
|
|
124135
124144
|
google: "no",
|
|
124136
124145
|
alexa: "unknown",
|
|
124146
|
+
aqara: "unknown",
|
|
124137
124147
|
note: "Power/energy is rarely shown unless it is on a smart plug."
|
|
124138
124148
|
},
|
|
124139
124149
|
24: {
|
|
124140
124150
|
apple: "no",
|
|
124141
124151
|
google: "no",
|
|
124142
124152
|
alexa: "no",
|
|
124143
|
-
|
|
124153
|
+
aqara: "yes",
|
|
124154
|
+
note: "Aqara lists battery storage; others show battery inside a device."
|
|
124144
124155
|
},
|
|
124145
124156
|
39: {
|
|
124146
124157
|
apple: "no",
|
|
124147
124158
|
google: "no",
|
|
124148
124159
|
alexa: "no",
|
|
124160
|
+
aqara: "unknown",
|
|
124149
124161
|
note: "Mode Select is not supported here (Google #356)."
|
|
124150
124162
|
},
|
|
124151
|
-
66: { apple: "no", google: "no", alexa: "no" },
|
|
124163
|
+
66: { apple: "no", google: "no", alexa: "no", aqara: "yes" },
|
|
124152
124164
|
771: {
|
|
124153
124165
|
apple: "no",
|
|
124154
124166
|
google: "yes",
|
|
124155
124167
|
alexa: "no",
|
|
124156
|
-
|
|
124168
|
+
aqara: "yes",
|
|
124169
|
+
note: "Google Home and Aqara show pumps."
|
|
124157
124170
|
},
|
|
124158
124171
|
68: {
|
|
124159
124172
|
apple: "no",
|
|
124160
124173
|
google: "no",
|
|
124161
124174
|
alexa: "no",
|
|
124175
|
+
aqara: "yes",
|
|
124162
124176
|
note: "Newer Matter detector, thin support; Alexa may reject it (#365)."
|
|
124163
124177
|
},
|
|
124164
124178
|
65: {
|
|
124165
124179
|
apple: "no",
|
|
124166
124180
|
google: "no",
|
|
124167
124181
|
alexa: "no",
|
|
124182
|
+
aqara: "yes",
|
|
124168
124183
|
note: "Newer Matter detector, thin support; Alexa may reject it (#365)."
|
|
124169
124184
|
},
|
|
124170
124185
|
67: {
|
|
124171
124186
|
apple: "yes",
|
|
124172
124187
|
google: "no",
|
|
124173
124188
|
alexa: "yes",
|
|
124189
|
+
aqara: "yes",
|
|
124174
124190
|
note: "Newer Matter detector, can be risky on Alexa bridges (#365)."
|
|
124175
124191
|
},
|
|
124176
|
-
118: { apple: "yes", google: "no", alexa: "yes" },
|
|
124192
|
+
118: { apple: "yes", google: "no", alexa: "yes", aqara: "yes" },
|
|
124177
124193
|
117: {
|
|
124178
124194
|
apple: "no",
|
|
124179
124195
|
google: "no",
|
|
124180
124196
|
alexa: "unknown",
|
|
124197
|
+
aqara: "unknown",
|
|
124181
124198
|
note: "Appliance types have little controller support."
|
|
124182
124199
|
},
|
|
124183
|
-
15: { apple: "partial", google: "no", alexa: "yes" }
|
|
124200
|
+
15: { apple: "partial", google: "no", alexa: "yes", aqara: "unknown" }
|
|
124184
124201
|
};
|
|
124185
124202
|
controllerLabels = {
|
|
124186
124203
|
apple: "Apple Home",
|
|
124187
124204
|
google: "Google Home",
|
|
124188
|
-
alexa: "Alexa"
|
|
124205
|
+
alexa: "Alexa",
|
|
124206
|
+
aqara: "Aqara Home"
|
|
124189
124207
|
};
|
|
124190
124208
|
}
|
|
124191
124209
|
});
|
|
@@ -161704,7 +161722,7 @@ var LegacyEndpoint = class _LegacyEndpoint extends EntityEndpoint {
|
|
|
161704
161722
|
}
|
|
161705
161723
|
if (!mapping?.powerEntity) {
|
|
161706
161724
|
const domain = entityId.split(".")[0];
|
|
161707
|
-
if (domain === "switch"
|
|
161725
|
+
if (domain === "switch") {
|
|
161708
161726
|
const powerEntityId = registry2.findPowerEntityForDevice(
|
|
161709
161727
|
entity.device_id
|
|
161710
161728
|
);
|
|
@@ -161721,7 +161739,7 @@ var LegacyEndpoint = class _LegacyEndpoint extends EntityEndpoint {
|
|
|
161721
161739
|
}
|
|
161722
161740
|
if (!mapping?.energyEntity) {
|
|
161723
161741
|
const domain = entityId.split(".")[0];
|
|
161724
|
-
if (domain === "switch"
|
|
161742
|
+
if (domain === "switch") {
|
|
161725
161743
|
const energyEntityId = registry2.findEnergyEntityForDevice(
|
|
161726
161744
|
entity.device_id
|
|
161727
161745
|
);
|