make UAP state like UDM state
This commit is contained in:
parent
4ce9f2c83a
commit
69a11fc51e
|
|
@ -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"`
|
||||
|
|
|
|||
Loading…
Reference in New Issue