Skip to content

Commit 01d2112

Browse files
authored
Update XiaomiGateway.cpp
Line 876: new aqara cube support
1 parent 1182044 commit 01d2112

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hardware/XiaomiGateway.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -873,7 +873,7 @@ void XiaomiGateway::xiaomi_udp_server::handle_receive(const boost::system::error
873873
else if (model == "weather.v1") {
874874
name = "Xiaomi Aqara Weather";
875875
}
876-
else if (model == "cube") {
876+
else if (model == "cube" || model == "sensor_cube.aqgl01") {
877877
name = "Xiaomi Cube";
878878
type = STYPE_Selector;
879879
}

0 commit comments

Comments
 (0)