import 'package:equatable/equatable.dart';

sealed class AcsEvent extends Equatable {
  const AcsEvent();

  @override
  List<Object> get props => [];
}

class AcFetchDeviceStatus extends AcsEvent {
  final String deviceId;

  const AcFetchDeviceStatus(this.deviceId);

  @override
  List<Object> get props => [deviceId];
}

class AcControl extends AcsEvent {
  final String deviceId;
  final String code;
  final dynamic value;

  const AcControl({
    required this.deviceId,
    required this.code,
    required this.value,
  });

  @override
  List<Object> get props => [deviceId, code, value];
}
