Skip to content

Instantly share code, notes, and snippets.

@maddox
Created September 30, 2016 03:05
Show Gist options
  • Save maddox/377cfebd11b80d98685ad48e087d52cc to your computer and use it in GitHub Desktop.
Save maddox/377cfebd11b80d98685ad48e087d52cc to your computer and use it in GitHub Desktop.
MQTT Switches for Harmony Activities for Home Assistant
- switch
- platform: mqtt
name: "TV"
state_topic: "harmony-api/hubs/family-room/state"
command_topic: "harmony-api/hubs/family-room/activities/watch-apple-tv/command"
qos: 0
optimistic: true
payload_on: "on"
payload_off: "off"
- platform: mqtt
name: "Tivo"
state_topic: "harmony-api/hubs/family-room/activities/watch-tv/state"
command_topic: "harmony-api/hubs/family-room/activities/watch-tv/command"
qos: 0
optimistic: true
payload_on: "on"
payload_off: "off"
- platform: mqtt
name: "Apple TV"
state_topic: "harmony-api/hubs/family-room/activities/watch-apple-tv/state"
command_topic: "harmony-api/hubs/family-room/activities/watch-apple-tv/command"
qos: 0
optimistic: true
payload_on: "on"
payload_off: "off"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment