| 5 | namespace hueplusplus |
| 6 | { |
| 7 | Group::Group(int id, const std::shared_ptr<APICache>& baseCache) |
| 8 | : id(id), state(baseCache, std::to_string(id), baseCache->getRefreshDuration()) |
| 9 | { } |
| 10 | |
| 11 | Group::Group(int id, const HueCommandAPI& commands, std::chrono::steady_clock::duration refreshDuration, const nlohmann::json& currentState) |
| 12 | : id(id), state("/groups/" + std::to_string(id), commands, refreshDuration, currentState) |
nothing calls this directly
no test coverage detected