sems to be the only topic to update this. The service will soon be deprecated, we are supposed to use the button the integration provides these days:
switch:
## https://www.home-assistant.io/components/switch.wake_on_lan/
- platform: wake_on_lan
name: (Wake) Synology Nas
mac: !secret synology_mac
host: !secret synology_host
turn_off:
service: button.press
target:
entity_id: button.synology_shutdown
works beautifully and can be integrated in scripts easily now, no more fiddling about. plain and simple.