Error when light sources are grouped in a scene
When i create a scene in the home-app i get an error when turning it on: 

[homebridge-tuya-platform] This plugin threw an error from the characteristic 'Brightness': Unhandled error thrown inside write handler for characteristic: Cannot read property 'max' of undefined. See https://git.io/JtMGR for more info.