| 74 | cache.getCommandAPI().PUTRequest("/config", {{"touchlink", true}}, CURRENT_FILE_INFO); |
| 75 | } |
| 76 | std::string BridgeConfig::getMACAddress() const |
| 77 | { |
| 78 | return cache.getValue().at("mac").get<std::string>(); |
| 79 | } |
| 80 | time::AbsoluteTime BridgeConfig::getUTCTime() const |
| 81 | { |
| 82 | return time::AbsoluteTime::parseUTC(cache.getValue().at("UTC").get<std::string>()); |