From 69a11fc51e73973489c9544cbfc8a62141744916 Mon Sep 17 00:00:00 2001 From: davidnewhall2 Date: Tue, 4 Feb 2020 17:04:21 -0800 Subject: [PATCH] make UAP state like UDM state --- core/unifi/uap.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/unifi/uap.go b/core/unifi/uap.go index 172504b8..23f20c29 100644 --- a/core/unifi/uap.go +++ b/core/unifi/uap.go @@ -63,7 +63,7 @@ type UAP struct { HasFan FlexBool `json:"has_fan"` HasTemperature FlexBool `json:"has_temperature"` DeviceID string `json:"device_id"` - State int `json:"state"` + State FlexInt `json:"state"` LastSeen FlexInt `json:"last_seen"` Upgradable FlexBool `json:"upgradable"` AdoptableWhenUpgraded FlexBool `json:"adoptable_when_upgraded"`