| 92 | } |
| 93 | |
| 94 | BaseDevice::BaseDevice(int id, const std::shared_ptr<APICache>& baseCache) |
| 95 | : id(id), state(baseCache, std::to_string(id), baseCache->getRefreshDuration()) |
| 96 | { } |
| 97 | |
| 98 | BaseDevice::BaseDevice( |
| 99 | int id, const HueCommandAPI& commands, const std::string& path, std::chrono::steady_clock::duration refreshDuration, const nlohmann::json& currentState) |
nothing calls this directly
no test coverage detected