From acd28f63082e4d96a1296ab241b6c384f64a0b4a Mon Sep 17 00:00:00 2001 From: oponyx <78806035+oponyx@users.noreply.github.com> Date: Mon, 22 Mar 2021 01:45:46 +0100 Subject: [PATCH] Update xdrv_20_hue.ino --- tasmota/xdrv_20_hue.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasmota/xdrv_20_hue.ino b/tasmota/xdrv_20_hue.ino index ac48628df..5bb442bbe 100644 --- a/tasmota/xdrv_20_hue.ino +++ b/tasmota/xdrv_20_hue.ino @@ -411,8 +411,8 @@ String GetHueDeviceId(uint16_t id) { String deviceid = WiFi.macAddress(); deviceid += F(":00:11-"); - if(id<9) deviceid += F("0"); - deviceid += String(id); + if(id<0x10) deviceid += F("0"); + deviceid += String(id,HEX); deviceid.toLowerCase(); return deviceid; // 5c:cf:7f:13:9f:3d:00:11-01 }