MCPcopy Create free account
hub / github.com/CalcProgrammer1/OpenRGB / setSunsetOffset

Method setSunsetOffset

dependencies/hueplusplus-1.0.0/src/Sensor.cpp:330–333  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

328 return state.getValue().at("config").at("sunsetoffset").get<int>();
329}
330void DaylightSensor::setSunsetOffset(int minutes)
331{
332 sendPutRequest("/config", nlohmann::json {{"sunsetoffset", minutes}}, CURRENT_FILE_INFO);
333}
334
335bool DaylightSensor::isDaylight() const
336{

Callers 1

TEST_FFunction · 0.80

Calls

no outgoing calls

Tested by 1

TEST_FFunction · 0.64