Manage now Googe shortcuts/routines or IFTTT within HA

i wanted to share my tip/trick that i have found out… some comment fist:

  • this tip/tricks doesnt create shortcuts, but the end result is the same
  • for my testing i created switches, because i wan to actually see a switch in my google home rooms,… scripts are not visable there, but should work also
  • i use this tip/trick for switches were the word ON/OFF is not obvious, as for my example “cover 1 down”, or “channel up” or “volume down” , i dont want to say, cover on/off … i think most users created for this purposes routines/applets
  • IFTTT is not supported yet in all languages, so if your langauge is not yet supported, and you want to use your “simple phrase” applet, you can now manage it also in HA
  • i also use in customize.yaml this : assumed_state: true , so my switch is presented a s a lightning, not a slider, because in my case, i want to turn on a switch even its already turned on… HA doesnt always know the state of my cover…

so what i have found out, as an covers … i created a switch for each cover in have in my house
so it you not use routines/shortcuts yet, you need to say :
hey google, cover 1 on
hey google, turn on cover 1
hey google, start cover 1

BUT
you can also just say, to trigger an ON action
hey google, cover 1 … without the word ON
this made me thinking…
so i created now 2 switches for 1 cover ; so now i have a switch called
Cover 1 Up and Cover 1 down
so no need for routines anymore
i just say to google
hey google, cover 1 up …
So all my aliases in the google component, are now my shortcuts/routines…

yes, its a little bit more work, you need to make 2 switches for each switch, but still i want to manage it all from HA

example below , i just say, channel up / channel down , this fires an harmony command on my television

switch.harmony_channel_up:
  name: Kanaal omhoog
  expose: true
  room: Harmony
  aliases:
    - Kanaal omhoog
    - Zender omhoog
    - Channel up
switch.harmony_channel_down:
  name: Kanaal omlaag
  expose: true
  room: Harmony
  aliases:
    - Kanaal omlaag
    - Zender omlaag
    - Channel down
1 Like

interesting, thanks for sharing