A hearing device includes: a first microphone configured to provide a first input signal; a first processor unit configured to provide a processed signal based on the first input signal to compensate for a hearing loss of a user of the first hearing device; a receiver configured to output sound based on the processed signal; and a first sensor configured to provide a first sensor signal for detecting an atrial fibrillation condition of the user. An electronic device includes: a communication interface configured to communicate with a hearing device; and a processing unit configured to obtain, via the communication interface, information associated with an atrial fibrillation condition of a user, the information comprising a sensor data transmitted from the hearing device and/or information indicating the atrial fibrillation condition detected based on the sensor data; wherein the accessory device is configured to output a signal indicative of the atrial fibrillation condition.