Skip to content

Instantly share code, notes, and snippets.

@maykar
Last active January 20, 2021 23:38
Show Gist options
  • Save maykar/11f46cdfab0562e683557403b2aa88b4 to your computer and use it in GitHub Desktop.
Save maykar/11f46cdfab0562e683557403b2aa88b4 to your computer and use it in GitHub Desktop.
IFTTT automation for Plex Assistant
blueprint:
name: Plex Assistant IFTTT Automation
description: Cast Plex media with IFTTT and Google Assistant
domain: automation
input:
save:
name: Type anything on this line.
description: HA currently requires you to do this to save.
trigger:
- platform: event
event_type: ifttt_webhook_received
event_data:
action: call_service
condition:
condition: template
value_template: "{{ trigger.event.data.service == 'plex_assistant.command' }}"
action:
- service: "{{ trigger.event.data.service }}"
data:
command: "{{ trigger.event.data.command }}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment