Including .yaml-files in configuration.yaml error

Format your code properly: How to help us help you - or How to ask a good question

Aside from that, remove the switch: and make it look like this:

- platform: wake_on_lan
  mac_address: MAC:ADRESS:OF:PC
  name: “PC-Name”
  host: IP-Adress

In an included file, the top level domain is already inferred from configuration.yaml.