push changes

This commit is contained in:
ashrafzarkanisala
2024-11-30 20:43:21 +03:00
parent 8d388ac482
commit ce6e7700bc
14 changed files with 852 additions and 305 deletions

View File

@ -105,12 +105,10 @@ class EffectiveTimePeriodEvent extends RoutineEvent {
}
class CreateAutomationEvent extends RoutineEvent {
// final CreateAutomationModel createAutomationModel;
final String? automationId;
final bool updateAutomation;
const CreateAutomationEvent({
//required this.createAutomationModel,
this.automationId,
this.updateAutomation = false,
});
@ -174,6 +172,20 @@ class DeleteAutomation extends RoutineEvent {
List<Object> get props => [automationId];
}
class UpdateScene extends RoutineEvent {
const UpdateScene();
@override
List<Object> get props => [];
}
class UpdateAutomation extends RoutineEvent {
const UpdateAutomation();
@override
List<Object> get props => [];
}
class FetchDevicesInRoutine extends RoutineEvent {}
class ResetRoutineState extends RoutineEvent {}
class ClearFunctions extends RoutineEvent {}