From 04489db1fd94d3a5fbf4fc8baed27d8e207746d8 Mon Sep 17 00:00:00 2001 From: Stephan Hadinger Date: Fri, 30 Oct 2020 19:23:27 +0100 Subject: [PATCH] Fix Hue support when zigbee is disabled --- tasmota/xdrv_20_hue.ino | 1 + 1 file changed, 1 insertion(+) diff --git a/tasmota/xdrv_20_hue.ino b/tasmota/xdrv_20_hue.ino index 8045c500b..6c86b5424 100644 --- a/tasmota/xdrv_20_hue.ino +++ b/tasmota/xdrv_20_hue.ino @@ -475,6 +475,7 @@ uint32_t DecodeLightId(uint32_t hue_id, uint16_t * shortaddr = nullptr) relay_id = 32; } #ifdef USE_ZIGBEE + if (shortaddr) { *shortaddr = 0x0000; } if (hue_id & (1 << 29)) { // this is actually a Zigbee ID if (shortaddr) { *shortaddr = hue_id & 0xFFFF; }