Yes , five template switches, one for each VM.
The value template gets feedback about your switch states in case you turn a VM on or off some other way than by using the controls in home assistant. It keeps the switch state shown in the dashboard synchronised with the actual VM state.
Do you have sensors to get the state of the VMs?
EDIT: also please don’t share pictures of text. Paste the text here and format it correctly, https://community.home-assistant.io/t/how-to-help-us-help-you-or-how-to-ask-a-good-question/114371#oneone-format-it-properly-16