local device = {} device.model = "ZBDongle-E" device.vendor = "SONOFF" device.description = "Sonoff Zigbee 3.0 USB Dongle Plus (EFR32MG21) with router firmware" device.zigbeeModel = { "DONGLE-E_R" } device.exposes = { { type = "numeric", name = "light_indicator_level", property = "light_indicator_level", access = 1, description = "Brightness of the indicator light", }, } device.fromZigbee = { "brightness" } device.configure = { bind = { "genLevelCtrl" }, reporting = { { cluster = "genLevelCtrl", attribute = "currentLevel", min = 1, max = 3600, change = 1, }, }, } return device