zigbee-herdsman-converters 24.5.0 → 24.7.0

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.
@@ -84,15 +84,18 @@ exports.definitions = [
84
84
  model: "9290035639",
85
85
  vendor: "Philips",
86
86
  description: "Hue Secure contact sensor",
87
- fromZigbee: [fz.battery, philips.fz.philips_contact],
87
+ fromZigbee: [],
88
88
  toZigbee: [],
89
- exposes: [e.battery(), e.contact()],
90
- configure: async (device, coordinatorEndpoint) => {
91
- const endpoint = device.getEndpoint(2);
92
- await reporting.bind(endpoint, coordinatorEndpoint, ["genPowerCfg"]);
93
- await reporting.bind(endpoint, coordinatorEndpoint, ["genOnOff"]);
94
- await reporting.batteryPercentageRemaining(endpoint);
95
- },
89
+ extend: [
90
+ philips.m.addCustomClusterManuSpecificPhilipsContact(),
91
+ philips.m.contact(),
92
+ m.battery({
93
+ percentage: true,
94
+ lowStatus: false,
95
+ voltageReporting: false,
96
+ percentageReporting: true,
97
+ }),
98
+ ],
96
99
  },
97
100
  {
98
101
  zigbeeModel: ["LLM010", "LLM012"],