We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8834962 commit 4c271a2Copy full SHA for 4c271a2
examples/lighting-app/tizen/src/DBusInterface.cpp
@@ -214,7 +214,7 @@ void DBusInterface::InitOnOff()
214
void DBusInterface::InitColor()
215
{
216
217
- chip::app::Clusters::ColorControl::ColorModeEnum value = 0;
+ chip::app::Clusters::ColorControl::ColorModeEnum value = chip::app::Clusters::ColorControl::ColorModeEnum::kCurrentHueAndCurrentSaturation;
218
auto status = Clusters::ColorControl::Attributes::ColorMode::Get(mEndpointId, &value);
219
VerifyOrReturn(status == Protocols::InteractionModel::Status::Success,
220
ChipLogError(NotSpecified, "Error getting ColorMode: 0x%x", to_underlying(status)));
0 commit comments