From 6522409c672cf602b02de696447ca9ae4af084a4 Mon Sep 17 00:00:00 2001 From: Stephan Hadinger Date: Sat, 9 Jan 2021 14:56:10 +0100 Subject: [PATCH] Zigbee don't report battery value for Philips devices --- tasmota/xdrv_23_zigbee_5_converters.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasmota/xdrv_23_zigbee_5_converters.ino b/tasmota/xdrv_23_zigbee_5_converters.ino index 3ab5fbe35..9d2db36e5 100644 --- a/tasmota/xdrv_23_zigbee_5_converters.ino +++ b/tasmota/xdrv_23_zigbee_5_converters.ino @@ -2159,13 +2159,13 @@ void Z_Data::toAttributes(Z_attribute_list & attr_list) const { // // Check if this device needs Battery reporting -// This is usefule for IKEA device that tend to drain battery quickly when Battery reporting is set +// This is useful for IKEA or Philips devices that tend to drain battery quickly when Battery reporting is set // bool Z_BatteryReportingDeviceSpecific(uint16_t shortaddr) { const Z_Device & device = zigbee_devices.findShortAddr(shortaddr); if (device.manufacturerId) { String manuf_c(device.manufacturerId); - if (manuf_c.startsWith(F("IKEA"))) { + if ((manuf_c.startsWith(F("IKEA"))) || (manuf_c.startsWith(F("Philips")))) { return false; } }