mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2025-07-15 01:35:23 +00:00
connected rest of the devices and functions and trigger api
This commit is contained in:
@ -45,7 +45,7 @@ class SceneApi {
|
||||
static Future<bool> triggerScene(String sceneId) async {
|
||||
try {
|
||||
final response = await _httpService.post(
|
||||
path: ApiEndpoints.triggerScene.replaceAll('{sceneUuid}', sceneId),
|
||||
path: ApiEndpoints.triggerScene.replaceAll('{sceneId}', sceneId),
|
||||
showServerMessage: false,
|
||||
expectedResponseModel: (json) => json['success'],
|
||||
);
|
||||
|
Reference in New Issue
Block a user