How to trigger power off command with Logitech Harmony Hub on an AppleTV
Create a new device called "Harmony Pro" and type in the serial "BT Apple TV 4". This creates an AppleTV device within the Harmony app with a quite different configuration. If you use that device in your actions, the hub will sent a power off/sleep command to the AppleTV.
Photo: unsplash.com