Xiaomi Aqara: Add new cube model (sensor_cube.aqgl01) (#14393)
This commit is contained in:
parent
621c653fed
commit
d6b81fb345
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ def setup_platform(hass, config, add_devices, discovery_info=None):
|
|||
'channel_1', hass, gateway))
|
||||
devices.append(XiaomiButton(device, 'Wall Switch (Both)',
|
||||
'dual_channel', hass, gateway))
|
||||
elif model in ['cube', 'sensor_cube']:
|
||||
elif model in ['cube', 'sensor_cube', 'sensor_cube.aqgl01']:
|
||||
devices.append(XiaomiCube(device, hass, gateway))
|
||||
add_devices(devices)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue