#How do I trigger an automation from my stream deck?

1 messages · Page 1 of 1 (latest)

obtuse veldt
#

Hi, I have a stream deck that has the home assistant plugin setup via webhook. From the stream deck home assistant plugin, I can see my instance, connect to it, see all devices, entities, automations etc.

I want to use a button
-- to start an automation
---- that uses a while loop to toggle a script
------ that goes through different scenes.
pressing the button again stops the automation.

  • The WebSocket service data, has a variable for the while loop (office_stream_status - see image 1),
  • Home assistant has an input Boolean helper for "office_stream_status" (Image 2 - not sure if this will work).

I'm at the point where the action is to run the script, however when I add the script action, the function doesn't let me choose a script and it can't find any areas, devices, entities or labels. (see image 2)

obtuse veldt
#

when I test the websocket, I get the following error:

vagrant pier
#

Did you set any of these up?

obtuse veldt
#

Hi, thanks for responding,

yes, all are checked.

Checking the logs and they were saying extra keys not allowed, I put it in chatGPT and it showed me to format it like so:

but I'm still getting the error

obtuse veldt
#

I found out how to do it, I was over complicating the send from stream deck :p