Skip to content

Commit

Permalink
fix: gen2: make wifi status ip and ssid optional
Browse files Browse the repository at this point in the history
  • Loading branch information
easimon committed Feb 17, 2024
1 parent 6da571d commit 0439c8d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,11 @@ data class Temperature(

data class WifiStatus(
@JsonProperty("sta_ip")
val ip: String,
val ip: String?,
@JsonProperty("status")
val status: String,
@JsonProperty("ssid")
val ssid: String,
val ssid: String?,
@JsonProperty("rssi")
val rssi: Int,
)

0 comments on commit 0439c8d

Please sign in to comment.