Pushbutton

Hi all.
I have an xcomfort integration using mqtt. Is there any way too se live values from digital signals like a light switch?
This for fault seeking…