A hearing device configured to be located fully or partially in or at an ear of a user, the hearing device comprising: at least one microphone (mic) configured to provide an input signal representing sound, a processor configured to process the input signal and provide a processed signal, at least one loudspeaker (speaker) configured to receive the processed signal from the processor and to provide an acoustic signal based on the processed signal to the ear of a user, an earpiece comprising a vent (vent), and an electrically controllable valve (valve) configured to control the state of the vent (vent), and a valve control unit configured to receive one or more control signals in dependence of a current hearing situation of the hearing device, wherein the hearing device comprises a feedback estimator unit (FBest) and at least one of the one or more control signal is obtained in dependence of an output of the feedback estimator unit (FBest), wherein the valve control unit is configured to adjust the electrically controllable valve (valve) on a basis of the output signal from the feedback estimator unit (FBest) to provide the vent (vent) to be in an open state, in a closed state and in one or more states therebetween, wherein the vent comprises a first vent portion and a second vent portion separated by the valve, the valve comprises a valve housing, the valve housing having an inner space comprising a rotatable ball, the ball being rotatable about a ball rotation axis, wherein the ball comprises a passage, wherein a first opening of said valve housing connects the passage with the first vent portion, and a second opening of said valve housing connects the passage with the second vent portion, and wherein at a first rotation position of the ball, the ball blocks a connection between the first opening and the second opening, and at a second rotation position of the ball, the passage connects the first opening and the second opening and defining a passage axis, wherein further the valve comprises an actuator configured to rotate the ball, and the valve control unit is configured to control and drive the actuator. at least one microphone (mic) configured to provide an input signal representing sound, a processor configured to process the input signal and provide a processed signal, at least one loudspeaker (speaker) configured to receive the processed signal from the processor and to provide an acoustic signal based on the processed signal to the ear of a user, an earpiece comprising a vent (vent), and an electrically controllable valve (valve) configured to control the state of the vent (vent), and a valve control unit configured to receive one or more control signals in dependence of a current hearing situation of the hearing device, wherein the hearing device comprises a feedback estimator unit (FBest) and at least one of the one or more control signal is obtained in dependence of an output of the feedback estimator unit (FBest), wherein the valve control unit is configured to adjust the electrically controllable valve (valve) on a basis of the output signal from the feedback estimator unit (FBest) to provide the vent (vent) to be in an open state, in a closed state and in one or more states therebetween, wherein a vent (vent), and an electrically controllable valve (valve) configured to control the state of the vent (vent), and a valve control unit configured to receive one or more control signals in dependence of a current hearing situation of the hearing device, the vent comprises a first vent portion and a second vent portion separated by the valve, the valve comprises a valve housing, the valve housing having an inner space comprising a rotatable ball, the ball being rotatable about a ball rotation axis, wherein the ball comprises a passage, wherein a first opening of said valve housing connects the passage with the first vent portion, and a second opening of said valve housing connects the passage with the second vent portion, and wherein at a first rotation position of the ball, the ball blocks a connection between the first opening and the second opening, and at a second rotation position of the ball, the passage connects the first opening and the second opening and defining a passage axis, wherein further the valve comprises an actuator configured to rotate the ball, and the valve control unit is configured to control and drive the actuator.