mirror of
https://github.com/SyncrowIOT/web.git
synced 2026-10-24 02:47:55 +00:00
show curtain in devices and implement dialog for if and then
last integrate with backend
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user