A50+ How to detect remotely that optical input has no signal


is is possible to remotely detect via API call that the optical input (SPDIF) has no signal (LED is blinking purple)?
I tested http API getStatusEx and getPlayerStatus but there is no change if optical has signal or not. In both cases status is “play” and title etc. is “Optical”.

The idea is to turn off devices with HomeAssistant if there is no signal.

Best regards, Helge