Skip to content
Snippets Groups Projects
Commit 7009e224 authored by KERDREUX Jerome's avatar KERDREUX Jerome
Browse files

Fix typo

parent 2a6d7478
No related branches found
No related tags found
No related merge requests found
......@@ -246,7 +246,7 @@ func NewLamp(addr uuid.UUID, zDev *Z2MDevice, expose *Expose) XAALDeviceInterfac
dev.AddMethod("set_brightness", dev.setBrightness)
}
if expose.GetFeature("color_temp") != nil {
// All bulb w/ color temp ar bright-controlled
// All bulb w/ color temp are dimmer
dev.AddAttribute("white_temperature", 0)
dev.AddMethod("set_white_temperature", dev.setWhiteTemperature)
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment