Home Smart Home Home Assistant Lesson 15 – Free Google Assistant and HASS links with IFTTT

Home Assistant Lesson 15 – Free Google Assistant and HASS links with IFTTT



1 / HASS – Obviously

2 / Google Home mini or products with Google Assistant is okay

3 / Get IFTTT’s key added to HASS

Open HASS, select Configuration – Integrations


IFTTT now gives you a URL , you copy it again, will use it again.

You go to  https://ifttt.com/  and log in. If you do not have an account, please register.

Select New Applet , you’ll see the following:

You select  This , then type Google Search

Select Say a simple phrase

Where What do you want to say, you enter the command as you like, for example, Turn on bedroom lightWhat’s another way to say it you enter another command to replace the above sentence, for example, i go to bedAnother way you enter more if you want.

Now you choose to go to THAT

Find Webhook

Now you enter the URL that HASS provided earlier

The method and Content Type entered as below.Body you enter according to the picture.”Action”: “call_service” you didn’t edit”Service”: “switch.turn_off” You fix the service as you like. If you need to learn service, see here .”Entity_id”: “switch.abcde” You enter your device name.Click Create Action to finish.

Coming to this step is about to finish. There is one last step left.

You go back to HASS and add the following automation section, keep it unchanged.

    platform: event
    event_type: ifttt_webhook_received
      action: call_service
    service_template: '{{ trigger.event.data.service }}'
      entity_id: '{{ trigger.event.data.entity_id }}'

Now Save, check config and Reload Automations is done.

Rate this post

Related Tips And Tricks

Leave a Comment

Tips and Tricks

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept