@DavidFW1960 wrote:
I am wanting to make an automation for my Harmony Hub. I have made an input_boolean so I can expose it to Google Assistant. Google Assistant natively supports the hub but it’s too ‘specific’ If I want to turn everything off at night as part of my bedtime routine, I have to say 'Turn off xxxx" and specify the activity.
If I make an input_boolean, I can just turn that on or off and it can trigger the turn_off service for the hub.But I’m losing my mind with the automation. I have 2 automations that are working but it occurs to me I should be able to use only 1.
The input_boolean needs to turn on/off if I am operating the hub (so the boolean and the hub are always in sync)
Here is what I have…- id: 'harmonyon' alias: Harmony Remote On trigger: - platform: state from: 'off' to: 'on' entity_id: input_boolean.harmonyremote - platform: state from: 'off' to: 'on' entity_id: remote.harmony_hub action: - service: input_boolean.turn_on entity_id: input_boolean.harmonyremote - service: remote.turn_on entity_id: remote.harmony_hub data: activity: "Watch DTV" - id: 'harmonyoff' alias: Harmony Remote Off trigger: - platform: state from: 'on' to: 'off' entity_id: input_boolean.harmonyremote - platform: state from: 'on' to: 'off' entity_id: remote.harmony_hub action: - service: input_boolean.turn_off entity_id: input_boolean.harmonyremote - service: remote.turn_off entity_id: remote.harmony_hub
any help appreciated… @petro ?
Posts: 5
Participants: 4