part of 'living_room_bloc.dart';

sealed class LivingRoomEvent extends Equatable {
  const LivingRoomEvent();

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

class LivingRoomFetchDeviceStatus extends LivingRoomEvent {
  final String deviceId;

  const LivingRoomFetchDeviceStatus(this.deviceId);

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

class LivingRoomControl extends LivingRoomEvent {
  final String deviceId;
  final String code;
  final bool value;

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

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