push fixes

This commit is contained in:
ashrafzarkanisala
2024-08-01 03:11:03 +03:00
parent a242876e16
commit b66fbc32e7
21 changed files with 647 additions and 331 deletions

View File

@ -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,
};
}
}