![]() |
Tuya iOS Smart Life App SDK 5.15.0
|
ThingSmartScenePreConditionModel provides more attributes for developers to create pre-conditions for automation scene. More...
#import <ThingSmartScenePreConditionModel.h>
Properties | |
NSString * | scenarioId |
The scene id. More... | |
NSString * | conditionId |
The condition id in the scene. More... | |
NSString * | condType |
The precondition type for automation scene. More... | |
NSDictionary * | expr |
ThingSmartScenePreConditionModel provides more attributes for developers to create pre-conditions for automation scene.
Definition at line 10 of file ThingSmartScenePreConditionModel.h.
|
readwritenonatomiccopy |
The condition id in the scene.
Definition at line 16 of file ThingSmartScenePreConditionModel.h.
|
readwritenonatomiccopy |
The precondition type for automation scene.
Definition at line 19 of file ThingSmartScenePreConditionModel.h.
|
readwritenonatomicstrong |
The precondition expression information, it contains more fields. For detail:
timeInterval: it's enumeration string type, you can select custom/daytime/night/allDay. eg: "timeInterval": "allDay" timeZoneId: it's string type, indicates the time zone id. eg: "timeZoneId": "Asia/Shanghai" loops: it's string type, every bit representing from Sunday to Saturday, "1" means for valid. eg: "1111111". start: it's string type, if type is timeCheck and timeInterval is custom, this property will be useful. eg: "start": "20:30". end: it's string type, if type is timeCheck and timeInterval is custom, this property will be useful. eg: "end": "06:30". cityId: it's string type, the city id. eg: "cityId": "793409534348627968". cityName: it's string type, the city name. eg: "cityName": "hangzhou".
Definition at line 30 of file ThingSmartScenePreConditionModel.h.
|
readwritenonatomiccopy |
The scene id.
Definition at line 13 of file ThingSmartScenePreConditionModel.h.