Noob here…I am trying to create the ability to click on my TV in the photo of my living room and have it turn on the “Watch TV” activity in Harmony. Ideally, I could toggle it off, but I would at least like to get this part working before I get too fancy lol.
In my ui-lovelace.yaml, I have the following:
- icon: mdi:home title: Test cards: - type: custom:plan-coordinates - type: picture-elements image: /local/images/living-room.png elements: - type: state-icon tap_action: toggle entity: light.fireplace_hue style: top: 20% left: 65% - type: state-icon tap_action: toggle entity: light.couch_hue style: top: 68% left: 9% - type: state-icon tap_action: toggle entity: light.window_hue style: top: 41% left: 8% - type: service-button title: TV service: remote.turn_on entity_id: remote.harmony_hub data: activity: "Watch TV" #tap_action: call-service style: top: 40% left: 88% - type: state-label entity: binary_sensor.liquor_cabinet style: top: 90% left: 95% - type: service-button title: ALL OFF style: top: 98% left: 90% service: light.turn_off #data: entity_id: - light.fireplace_hue - light.couch_hue - light.window_hue - type: icon icon: mdi:home tap_action: navigate navigation_path: /lovelace/0 style: top: 5% left: 5%
Everything else works according to plan, except for the harmony portion. My config.yaml has the following for harmony:
remote: - platform: harmony name: Harmony Hub #activity: Watch TV
Any help getting this working would be much appreciated.