All in one button to control impuls relay and show status

Hi,

I have just installed a Waveshare modbus IO module where I use the relay to send an impuls to a impuls relay for the light.
When the impuls relay is on and the light is on I get the feedback of the impuls relay in the electrical cabinet to digitat input DI that is its active (or inactive)

I want to be able to control the impuls relay (So de DO of the board) and see the feedback on the DI of the board in one button.

Now I have 2 entitys to show this, I would like to do this with 1 combined entity
2_Entitys

Nobody who knows? :neutral_face: