To create a Wake on LAN entity
Go to Settings → Devices & Services → Entities
Click on Add integration and add the Wake on Lan integration
Fill in the MAC address of the PC to wake up and save
This will create a Wake on LAN entity
On the dashboard where you want the button, click add card
and add an entity card
In the entity card, fill in the Wake on LAN entity