Skip to content

Commit c48a6fc

Browse files
committed
make UAP state like UDM state
1 parent 72b2148 commit c48a6fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

uap.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ type UAP struct {
6363
HasFan FlexBool `json:"has_fan"`
6464
HasTemperature FlexBool `json:"has_temperature"`
6565
DeviceID string `json:"device_id"`
66-
State int `json:"state"`
66+
State FlexInt `json:"state"`
6767
LastSeen FlexInt `json:"last_seen"`
6868
Upgradable FlexBool `json:"upgradable"`
6969
AdoptableWhenUpgraded FlexBool `json:"adoptable_when_upgraded"`

0 commit comments

Comments
 (0)