MEGA begginer

hi, i need help
I did read a lot here , but there is so much info and a lot of things are outdated that i have problems setting up one switch and make it work with google assistant…
i would like to turn on and turn off my test light…
I have broadlink rm3 mini and my led light.
broadlink rm3 mini or Blackbean is working in my home assistant web gui, i can switch led light on or off, but i have problems making it work with google assistant.
emulated hue is not workig with google assistant…
so second option is to make it work with IFTTT, it will be slow etc, but i don’t see other options…

Where im stuck…
i have working broadlink RM 3 mini, but i don’t know how to make it work over ifttt and google assistant.
can someone show me the correct steps?
i did connect google assistant in IFTTT and i have build my applet.i have api key and i did create my applet to ask google (If You say “turn on kitchen light”, then make a web request)

Now i need to setup URL web request…but i think that i need to create something more in Home Assistant to make it work…

i have this in my config set up:

ifttt:
  key: api key

switch:
  - platform: broadlink
    host: xxx.xxx.xxx.xxx
    mac: 'xxx:xx:xx:xx:xx:xx'
    timeout: 25
    switches:
      # hope it will work :
      led_kitchen:
        friendly_name: "Led Light Kitchen"
        command_on: 'JgBkAKEIfpURFAw/EBMRFBEUERUPFg8VETkQFhA4ETkPPg45ERUQOBI4ERQRFBI4EDoQFg8VEBQRFRA3EjoRFQ8WDzkROg86EQAFRQABFggHTBEADFYPBwABDE4RAAxWAAEnShEADQUAAAAA='
        command_off: 'JgBkAKEIfpURFAw/EBMRFBEUERUPFg8VETkQFhA4ETkPPg45ERUQOBI4ERQRFBI4EDoQFg8VEBQRFRA3EjoRFQ8WDzkROg86EQAFRQABFggHTBEADFYPBwABDE4RAAxWAAEnShEADQUAAAAA='

and i have this states:
switch.led_light_kitchen off friendly_name: Led Light Kitchen
assumed_state: true

what i need to create and how?
thanks
kikan

please could you use preformatted text when you post code ? so that we can have the right synatx and maybe find errors
(it’s the </> symbol)

hi,
thanks for replay,

i dont have errors, i need right step to go on…
i have my broadlink rm3 mini working and i’m able to switch on and off my light with home assistant.
like i wrote im stuck to setup setup URL web request in ifttt , but i think that i need to configure some things in home assistant, the example from here is not helping me i need right steps to go on. …https://home-assistant.io/components/ifttt/
but there is no maker service so i used webhooks.

hi,
i did make it work…

here are steps required…

you need to add lines for broadlink rm3 mini in homeassistant and IFTTT

platform: broadlink
  host: xxx.xxx.xxx.xxx
  mac: 'xxx:xx:xx:xx:xx:xx’
  timeout: 25
switches:
  led_kitchen:
    friendly_name: "Led Light Kitchen"
   command_on:    'JgBkAKEIfpURFAw/EBMRFBEUERUPFg8VETkQFhA4ETkPPg45ERUQOBI4ERQRFBI4EDoQFg8VEBQRFRA3EjoRFQ8WDzkROg86EQAFRQABFggHTBEADFYPBwABDE4RAAxWAAEnShEADQUAAAAA='
command_off: ‘JgBkAKEIfpURFAw/EBMRFBEUERUPFg8VETkQFhA4ETkPPg45ERUQOBI4ERQRFBI4EDoQFg8VEBQRFRA3EjoRFQ8WDzkROg86EQAFRQABFggHTBEADFYPBwABDE4RAAxWAAEnShEADQUAAAAA=’

YOU need to add IFTTT for home assistant in home assistant configuration
you need this key form here under URL… copy only the key in the end
https://ifttt.com/services/maker_webhooks/settings

ifttt:
key: key is in webhooks

use dns or port forwarding because home assistant server respond on port :8123

now you have to create applet in IFTTT.

go to applet , create new applet

click on THIS and search for Google assistant service… click on Say a simple phrase
my phrase are
If You say “turn on kitchen light”, then make a web request
and create trigger
now click on THAT and search for webhooks and Make a web request

now i use switch service and turn on or turn off command…
my settings

URL
http://xxx.xxx.xxx.xxx:8123/api/services/switch/turn_on?api_password=xxxxxxxxxx

Method
POST
Content Type(optional)
aplication/json
BODY ( i have named my lcd lights (.led_light_kitchen)
{ “entity_id”: “switch.led_light_kitchen” }

save and try

hope that helps