added automation flag in the the bloc and event

This commit is contained in:
ashrafzarkanisala
2024-07-16 22:30:12 +03:00
parent 8f1db7615f
commit 201931659d
13 changed files with 536 additions and 165 deletions

View File

@ -201,6 +201,10 @@ mixin SceneOperationsDataHelper {
required functionValue,
required bool isAutomation,
}) {
if (isAutomation) {
return ThreeGangHelperFunctions.threeGangAutomationFunctions(
deviceId, deviceName, functionValue);
}
return ThreeGangHelperFunctions.threeGangHelperFunctions(
deviceId, deviceName, functionValue);
}