@riddix/hamh 2.1.0-alpha.501 → 2.1.0-alpha.503
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
|
@@ -152326,8 +152326,10 @@ var HomeAssistantRegistry = class extends Service {
|
|
|
152326
152326
|
`
|
|
152327
152327
|
);
|
|
152328
152328
|
}
|
|
152329
|
-
for (const s of statesList)
|
|
152329
|
+
for (const s of statesList) {
|
|
152330
|
+
hash2.update(`${s.entity_id}\0${s.attributes?.device_class ?? ""}
|
|
152330
152331
|
`);
|
|
152332
|
+
}
|
|
152331
152333
|
for (const d of deviceRegistry) {
|
|
152332
152334
|
hash2.update(
|
|
152333
152335
|
`${d.id}\0${(d.labels ?? []).join(",")}\0${d.area_id ?? ""}\0${d.name_by_user ?? ""}\0${d.name ?? ""}\0${d.model ?? ""}
|
|
@@ -169317,10 +169319,6 @@ function AutomationDevice(homeAssistantEntity) {
|
|
|
169317
169319
|
return AutomationDeviceType.set({ homeAssistantEntity });
|
|
169318
169320
|
}
|
|
169319
169321
|
|
|
169320
|
-
// src/matter/endpoints/legacy/binary-sensor/index.ts
|
|
169321
|
-
init_dist();
|
|
169322
|
-
init_esm();
|
|
169323
|
-
|
|
169324
169322
|
// ../../node_modules/.pnpm/@matter+main@0.16.10/node_modules/@matter/main/dist/esm/forwards/behaviors/boolean-state.js
|
|
169325
169323
|
init_nodejs();
|
|
169326
169324
|
|
|
@@ -169390,6 +169388,10 @@ var ContactSensorWithBatteryType = ContactSensorDevice.with(
|
|
|
169390
169388
|
})
|
|
169391
169389
|
);
|
|
169392
169390
|
|
|
169391
|
+
// src/matter/endpoints/legacy/binary-sensor/index.ts
|
|
169392
|
+
init_dist();
|
|
169393
|
+
init_esm();
|
|
169394
|
+
|
|
169393
169395
|
// src/matter/endpoints/legacy/binary-sensor/motion-sensor.ts
|
|
169394
169396
|
init_home_assistant_entity_behavior();
|
|
169395
169397
|
|
|
@@ -175184,6 +175186,16 @@ function SensorDevice(homeAssistantEntity) {
|
|
|
175184
175186
|
return void 0;
|
|
175185
175187
|
}
|
|
175186
175188
|
|
|
175189
|
+
// src/matter/endpoints/legacy/switch/dimmable-plugin-unit.ts
|
|
175190
|
+
init_home_assistant_entity_behavior();
|
|
175191
|
+
var DimmablePlugInUnitType = DimmablePlugInUnitDevice.with(
|
|
175192
|
+
IdentifyServer2,
|
|
175193
|
+
BasicInformationServer2,
|
|
175194
|
+
HomeAssistantEntityBehavior,
|
|
175195
|
+
LightOnOffServer,
|
|
175196
|
+
LightLevelControlServer
|
|
175197
|
+
);
|
|
175198
|
+
|
|
175187
175199
|
// src/matter/endpoints/legacy/switch/index.ts
|
|
175188
175200
|
init_home_assistant_entity_behavior();
|
|
175189
175201
|
var SwitchOnOffServer = OnOffServer2();
|
|
@@ -177629,6 +177641,9 @@ var matterDeviceTypeFactories = {
|
|
|
177629
177641
|
}
|
|
177630
177642
|
return SwitchDevice(ha);
|
|
177631
177643
|
},
|
|
177644
|
+
dimmable_plugin_unit: (ha) => DimmablePlugInUnitType.set({
|
|
177645
|
+
homeAssistantEntity: { entity: ha.entity, customName: ha.customName }
|
|
177646
|
+
}),
|
|
177632
177647
|
on_off_switch: SwitchDevice,
|
|
177633
177648
|
door_lock: LockDevice,
|
|
177634
177649
|
window_covering: CoverDevice,
|
|
@@ -177684,9 +177699,15 @@ var matterDeviceTypeFactories = {
|
|
|
177684
177699
|
electrical_sensor: (ha) => ElectricalSensorType.set({
|
|
177685
177700
|
homeAssistantEntity: { entity: ha.entity, customName: ha.customName }
|
|
177686
177701
|
}),
|
|
177702
|
+
contact_sensor: (ha) => ContactSensorType.set({
|
|
177703
|
+
homeAssistantEntity: { entity: ha.entity, customName: ha.customName }
|
|
177704
|
+
}),
|
|
177687
177705
|
motion_sensor: (ha) => MotionSensorType.set({
|
|
177688
177706
|
homeAssistantEntity: { entity: ha.entity, customName: ha.customName }
|
|
177689
177707
|
}),
|
|
177708
|
+
occupancy_sensor: (ha) => OccupancySensorType.set({
|
|
177709
|
+
homeAssistantEntity: { entity: ha.entity, customName: ha.customName }
|
|
177710
|
+
}),
|
|
177690
177711
|
mode_select: SelectDevice,
|
|
177691
177712
|
water_valve: ValveDevice,
|
|
177692
177713
|
pump: PumpEndpoint,
|