Command_line switch state delay or ping /pong

I have a command_line switch with distinct command for on / off / state that works however because the command takes a while to complete the switchs visual state ping pongs from the new state to the old then back to the new once complete.

Is there a way to delay the visual update?

If not I would request an hour glass indicator of some kind or at least a way to indicate to hass that the state confirmation will take longer than a specified delay.

1 Like