show curtain in devices and implement dialog for if and then

last integrate with backend
This commit is contained in:
raf-dev1
2025-06-17 13:34:23 +03:00
parent 994e9f4e57
commit 056a1daadc
10 changed files with 499 additions and 149 deletions
+1
View File
@@ -40,6 +40,7 @@ class SceneApi {
static Future<Map<String, dynamic>> createAutomation(
CreateAutomationModel createAutomationModel, String projectId) async {
try {
print(createAutomationModel.toMap());
final response = await _httpService.post(
path:
ApiEndpoints.createAutomation.replaceAll('{projectId}', projectId),