If I understand your question, this is easy as long as you have the right virtual device. If it has both sensor and switch capabilities, that’s by far the simplest. Then you can turn it on and off like a switch from smartthings but echo will detect it as a sensor changing state.
See the community FAQ: