setMode static method
Implementation
static Future<void> setMode(
Request request, String id, GThermostatMode mode) async {
final req = GmakeSetModeRequest((b) {
b..vars.deviceId = id;
b..vars.mode = mode;
});
Repository().mutate(request, req.operation, req.vars.toJson());
}