Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95468

How to configure automations for Harmony Hub activities?

$
0
0

@carsten_h wrote:

Hi!

I have a Harmony Hub integrated into Home Assistant and now I want to automate a bit with it. Eg. I want to switch on a light when the activities “Watch TV”, “Apple TV” or “Bluray” are switched on with the companion remote.

So I started to create the automation:

But what should I choose here?
Is it an “Event”, a “State” or something other that I have to choose?
If it is an Event , I have to input Eventtype. What is it?
If it is a State, I get this:
Bildschirmfoto 2020-04-16 um 16.39.45

I can choose my switch “Watch TV” that I defined inside the switch.yaml:

        fernsehen:
          value_template: "{{ is_state_attr('remote.harmony_hub', 'current_activity', 'Fernsehen') }}"
          turn_on:
            service: remote.turn_on
            data:
              entity_id: remote.harmony_hub
              activity: 'Fernsehen'
          turn_off:
            service: remote.turn_on
            data:
              entity_id: remote.harmony_hub
              activity: 'PowerOff'

But what should be “From”, “To” and “For”?

I am really lost here!
This is nothing I can find in the documentation to the Harmony Hub integration.
Where can I find information regarding this automations?

Thank you in advance!

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 95468

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>