Hive-Custom-Component icon indicating copy to clipboard operation
Hive-Custom-Component copied to clipboard

Quick Actions

Open Corneloues opened this issue 4 years ago • 8 comments

I've just read that Siri now supports Quick Actions.

Does that mean there is a possibility that this can be brought to HA?

Corneloues avatar Jan 23 '21 11:01 Corneloues

@Corneloues Do you mean actions that can be setup in Hive?

KJonline avatar Feb 21 '21 13:02 KJonline

Yes... I want to trigger them from HA

Corneloues avatar Feb 21 '21 18:02 Corneloues

Let me enhance. I have defined some quick actions in the Hive app. My family access Hive from HA. I'd like them to be able to trigger the Quick Actions without having to have the Hive app themselves. It also gives me a backup if HA is not available.

I also get this, when trying to create a script using the UI.

image

Corneloues avatar Feb 25 '21 15:02 Corneloues

I did have a quick look at quick actions and there is an api to call them and action them. The issue I have is what do I represent them as in home assistant, I think it may have to be a switch

KJonline avatar Feb 25 '21 15:02 KJonline

I think the best way to do it would be to follow the way the Hue integration activates scenes.

Simply pass the name of the Quick Action as a parameter. They don't need to show up as an entity.

script:
  boost_home:
    sequence:
      - service: hive.quick_action
        data:
          action_name: "Boost Home"

Remember quick actions can contain any device in the Hive ecosystem. Combining lights, switches and heat.

Hope this helps.

Corneloues avatar Feb 25 '21 17:02 Corneloues

Nice idea I’ll take a look at that.

KJonline avatar Feb 25 '21 19:02 KJonline

Happy to test...

Corneloues avatar Feb 25 '21 19:02 Corneloues

Did we get this feature added?

tekhiegit avatar Nov 20 '22 00:11 tekhiegit