Skip to content

Commit

Permalink
Xiaomi Aqara: Add new cube model (sensor_cube.aqgl01) (#14393)
Browse files Browse the repository at this point in the history
  • Loading branch information
syssi authored and Danielhiversen committed May 11, 2018
1 parent 621c653 commit d6b81fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion homeassistant/components/binary_sensor/xiaomi_aqara.py
Expand Up @@ -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)

Expand Down

0 comments on commit d6b81fb

Please sign in to comment.