mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-07-17 02:25:31 +00:00
fix image on tab to run, and add delete for automation and scene
This commit is contained in:
@ -158,6 +158,22 @@ class InitializeRoutineState extends RoutineEvent {
|
||||
List<Object> get props => [routineDetails];
|
||||
}
|
||||
|
||||
class DeleteScene extends RoutineEvent {
|
||||
final String sceneId;
|
||||
final String unitUuid;
|
||||
const DeleteScene({required this.sceneId, required this.unitUuid});
|
||||
@override
|
||||
List<Object> get props => [sceneId];
|
||||
}
|
||||
|
||||
class DeleteAutomation extends RoutineEvent {
|
||||
final String automationId;
|
||||
final String unitUuid;
|
||||
const DeleteAutomation({required this.automationId, required this.unitUuid});
|
||||
@override
|
||||
List<Object> get props => [automationId];
|
||||
}
|
||||
|
||||
class ResetRoutineState extends RoutineEvent {}
|
||||
|
||||
class ClearFunctions extends RoutineEvent {}
|
||||
|
Reference in New Issue
Block a user