mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2025-11-27 20:24:55 +00:00
push fixes
This commit is contained in:
@ -3,12 +3,14 @@ class SmartSceneEnable {
|
||||
final String actionExecutor;
|
||||
final String sceneORAutomationName;
|
||||
final bool isAutomation;
|
||||
final String type;
|
||||
|
||||
SmartSceneEnable({
|
||||
required this.entityId,
|
||||
required this.actionExecutor,
|
||||
required this.sceneORAutomationName,
|
||||
required this.isAutomation,
|
||||
required this.type,
|
||||
});
|
||||
|
||||
factory SmartSceneEnable.fromJson(Map<String, dynamic> json) {
|
||||
@ -17,6 +19,7 @@ class SmartSceneEnable {
|
||||
actionExecutor: json['actionExecutor'],
|
||||
sceneORAutomationName: json['sceneORAutomationName'],
|
||||
isAutomation: json['isAutomation'],
|
||||
type: json['type'],
|
||||
);
|
||||
}
|
||||
|
||||
@ -26,6 +29,7 @@ class SmartSceneEnable {
|
||||
'actionExecutor': actionExecutor,
|
||||
'sceneORAutomationName': sceneORAutomationName,
|
||||
'isAutomation': isAutomation,
|
||||
'type': type,
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user