Create entity to command alexa

Hey everybody,
I would like to create a switch entity , wich when i press it it commands alexa to do something.
I have set up the virtual alexa , just creating the entity isn’t working…
I would love to add this custom build switch entitiy to my dashboard , so if i touch it , it commands my echo to perform a command.
Any ideas?