mirror of https://github.com/arendst/Tasmota.git
Update xdrv_20_hue.ino
This commit is contained in:
parent
c64d13ca66
commit
acd28f6308
|
@ -411,8 +411,8 @@ String GetHueDeviceId(uint16_t id)
|
||||||
{
|
{
|
||||||
String deviceid = WiFi.macAddress();
|
String deviceid = WiFi.macAddress();
|
||||||
deviceid += F(":00:11-");
|
deviceid += F(":00:11-");
|
||||||
if(id<9) deviceid += F("0");
|
if(id<0x10) deviceid += F("0");
|
||||||
deviceid += String(id);
|
deviceid += String(id,HEX);
|
||||||
deviceid.toLowerCase();
|
deviceid.toLowerCase();
|
||||||
return deviceid; // 5c:cf:7f:13:9f:3d:00:11-01
|
return deviceid; // 5c:cf:7f:13:9f:3d:00:11-01
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue