addDeviceToGroup method
Implementation
@override
Future<void> addDeviceToGroup(int deviceAddress, int groupAddress) async {
try {
await methodChannel.invokeMethod<void>('addDeviceToGroup', {
'deviceAddress': deviceAddress,
'groupAddress': groupAddress,
});
} on PlatformException catch (e) {
debugPrint('Failed to add device to group: ${e.message}');
rethrow;
}
}