Using HA’s cloud service to integrate to alexa - I could expose harmony hub / remote activities via template switches like so:
- platform: template
switches:
netflix:
value_template: "{{ states.remote.harmony.attributes.current_activity == 'TV Netflix' }}"
turn_on:
service: script.turn_on
entity_id: script.harmony_tv_netflix
turn_off:
service: script.turn_on
entity_id: script.harmony_poweroff
With this I can turn-on/off the netflix activity etc.
I wanted to be able to ask alexa to mute the receiver, something that would trigger:
service: remote.send_command
data_template:
command: Mute
device: 29753204
entity_id: remote.harmony
Now in the Alexa docs it appears that a custom skill could be customized by adding ‘intents’ (not 100% sure what that exactly means but I think I get the idea).
Intents could be tied to an HA script, and then utterances created to trigger those intents > scripts. Now to do that it seems I need to customize the alexa skill, which in the case of the “HA Cloud service skill” is not an option.
So the question is, is there a way to achieve this or something similar?
Hoping there is a simpler way that doesn’t involve a customized alexa skill for this.