From e721d4da7f5d05cdb5879da1b43cc22307a7f38d Mon Sep 17 00:00:00 2001 From: Akihiko Koizuka Date: Sat, 5 Aug 2023 14:03:40 +0900 Subject: [PATCH] add LightLevel for Hub 2 --- device.go | 1 + 1 file changed, 1 insertion(+) diff --git a/device.go b/device.go index 7bf41cd..7d721b1 100644 --- a/device.go +++ b/device.go @@ -151,6 +151,7 @@ type DeviceStatus struct { ShakeRange int `json:"shakeRange"` IsMoveDetected bool `json:"moveDetected"` Brightness BrightnessState `json:"brightness"` + LightLevel int `json:"lightLevel"` OpenState OpenState `json:"openState"` Color string `json:"color"` ColorTemperature int `json:"colorTemperature"`