@riddix/hamh 2.1.0-alpha.500 → 2.1.0-alpha.501

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.
@@ -152322,14 +152322,18 @@ var HomeAssistantRegistry = class extends Service {
152322
152322
  const hash2 = createHash("md5");
152323
152323
  for (const e of entityRegistry) {
152324
152324
  hash2.update(
152325
- `${e.entity_id}\0${e.device_id ?? ""}\0${e.disabled_by ?? ""}\0${e.hidden_by ?? ""}\0${e.area_id ?? ""}\0${(e.labels ?? []).join(",")}
152325
+ `${e.entity_id}\0${e.device_id ?? ""}\0${e.disabled_by ?? ""}\0${e.hidden_by ?? ""}\0${e.area_id ?? ""}\0${(e.labels ?? []).join(",")}\0${e.platform ?? ""}\0${e.entity_category ?? ""}
152326
152326
  `
152327
152327
  );
152328
152328
  }
152329
152329
  for (const s of statesList) hash2.update(`${s.entity_id}
152330
152330
  `);
152331
- for (const d of deviceRegistry) hash2.update(`${d.id}
152332
- `);
152331
+ for (const d of deviceRegistry) {
152332
+ hash2.update(
152333
+ `${d.id}\0${(d.labels ?? []).join(",")}\0${d.area_id ?? ""}\0${d.name_by_user ?? ""}\0${d.name ?? ""}\0${d.model ?? ""}
152334
+ `
152335
+ );
152336
+ }
152333
152337
  for (const l of labels) hash2.update(`${l.label_id}
152334
152338
  `);
152335
152339
  for (const a of areas) hash2.update(`${a.area_id}\0${a.name}