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

Method setSunriseOffset

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

Source from the content-addressed store, hash-verified

319 return state.getValue().at("config").at("sunriseoffset").get<int>();
320}
321void DaylightSensor::setSunriseOffset(int minutes)
322{
323 sendPutRequest("/config", nlohmann::json {{"sunriseoffset", minutes}}, CURRENT_FILE_INFO);
324}
325
326int DaylightSensor::getSunsetOffset() const
327{

Callers 1

TEST_FFunction · 0.80

Calls

no outgoing calls

Tested by 1

TEST_FFunction · 0.64