Creates a LightOn object from the JSON response to a GET request.
factory LightOn.fromJson(Map<String, dynamic> dataMap) { return LightOn( isOn: dataMap[ApiFields.isOn] ?? false, ); }