Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: Trigger automations #326

Closed
3 tasks done
dennisvandehoef opened this issue Dec 17, 2024 · 5 comments
Closed
3 tasks done

[Feature]: Trigger automations #326

dennisvandehoef opened this issue Dec 17, 2024 · 5 comments
Labels
feature Feature Request

Comments

@dennisvandehoef
Copy link

Requested feature

Currently, an automation is exported as a switch.
This means that from ALexa, I can only enable/disable the automation but I whould like to trigger/run it.

If this is not possible, we probably want to improve this in the readme 😸

Documentation & Issues

@dennisvandehoef dennisvandehoef added the feature Feature Request label Dec 17, 2024
@adegenkolbe
Copy link

Same would be cool for scripts too

@knuti1960
Copy link

I tried this with a HA-script in Home (Google), it works. I say: "Hey Google, lock PC", and the script is executed immediately, the PC is locked. Should also work with Alexa.

@t0bst4r
Copy link
Owner

t0bst4r commented Dec 19, 2024

For scripts and automations I am sending the generic homeassistant.turn_on and turn_off commands.

If that doesn't work we can easily change that.
Can you please verify that using the HA dev tools?

@nick-fisch
Copy link

I tried this with a HA-script in Home (Google), it works. I say: "Hey Google, lock PC", and the script is executed immediately, the PC is locked. Should also work with Alexa.

I can confirm this. Starting an automation using Google Assistant does not do anything. Starting a script from Google Home that just runs the automation works.

@knuti1960
Copy link

Now I tried it with 2 different automations, one for vac room cleaning, one for turning off a lightgroup, both don't work with google home.
Unfortunately, I am not familiar with the HA developer tools.

t0bst4r added a commit that referenced this issue Dec 20, 2024
…ctivate scripts, automations, and scenes

fixes #326
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Feature Request
Projects
None yet
Development

No branches or pull requests

5 participants