File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -167,6 +167,7 @@ type DeviceStatus struct {
167
167
Battery int `json:"battery"`
168
168
Version DeviceVersion `json:"version"`
169
169
Direction string `json:"direction"`
170
+ CO2 int `json:"CO2"`
170
171
}
171
172
172
173
type PowerState string
Original file line number Diff line number Diff line change @@ -102,10 +102,12 @@ const (
102
102
IndoorCam PhysicalDeviceType = "Indoor Cam"
103
103
// PanTiltCam is SwitchBot Pan/Tilt Cam Model No. W1801200
104
104
PanTiltCam PhysicalDeviceType = "Pan/Tilt Cam"
105
- //PanTiltCam2K is SwitchBot Pan/Tilt Cam 2K Model No. W3101100
105
+ // PanTiltCam2K is SwitchBot Pan/Tilt Cam 2K Model No. W3101100
106
106
PanTiltCam2K PhysicalDeviceType = "Pan/Tilt Cam 2K"
107
107
// BlindTilt is SwitchBot Blind Tilt Model No. W2701600
108
108
BlindTilt PhysicalDeviceType = "Blind Tilt"
109
+ // MeterPro is SwitchBot CO2 Sensor Model No. W4900010
110
+ MeterPro PhysicalDeviceType = "MeterPro"
109
111
)
110
112
111
113
type VirtualDeviceType string
You can’t perform that action at this time.
0 commit comments