diff --git a/fields/main.go b/fields/main.go
index 1e30270..81ce793 100644
--- a/fields/main.go
+++ b/fields/main.go
@@ -403,6 +403,15 @@ func main() {
 				}
 				return nil
 			}
+		case "WLAN":
+			resource.FieldProcessor = func(name string, f *FieldInfo) error {
+				switch name {
+				case "ScheduleWithDuration":
+					// always send schedule, so we can empty it if we want to
+					f.OmitEmpty = false
+				}
+				return nil
+			}
 		}
 
 		err = resource.processJSON(b)
diff --git a/unifi/wlan.generated.go b/unifi/wlan.generated.go
index d39f213..8881a7b 100644
--- a/unifi/wlan.generated.go
+++ b/unifi/wlan.generated.go
@@ -88,7 +88,7 @@ type WLAN struct {
 	Schedule                    []string                   `json:"schedule,omitempty"` // (sun|mon|tue|wed|thu|fri|sat)(\-(sun|mon|tue|wed|thu|fri|sat))?\|([0-2][0-9][0-5][0-9])\-([0-2][0-9][0-5][0-9])
 	ScheduleEnabled             bool                       `json:"schedule_enabled"`
 	ScheduleReversed            bool                       `json:"schedule_reversed"`
-	ScheduleWithDuration        []WLANScheduleWithDuration `json:"schedule_with_duration,omitempty"`
+	ScheduleWithDuration        []WLANScheduleWithDuration `json:"schedule_with_duration"`
 	Security                    string                     `json:"security,omitempty"`           // open|wpapsk|wep|wpaeap|osen
 	SettingPreference           string                     `json:"setting_preference,omitempty"` // auto|manual
 	TdlsProhibit                bool                       `json:"tdls_prohibit"`