How to trigger a pre-configured Philips Hue automation?

I want to activate a pre-configured automation from the Philips Hue app (such as presence simulation) when I switch my smart switch to vacation mode. I have found an entity_id: automation.anwesenheit_simulieren for the automation, but I don’t know how to select the lights so that this specific automation starts.

I am aware of how to activate scenes, but I can’t seem to trigger this pre-set automation. Does anyone know how to do this?

alias: Ferienmodus_Einschalten
description: >-
  Startet die Philips Hue Automatisierung 'Anwesenheit simulieren' und schaltet
  relevante Lichter ein
triggers:
  - entity_id: input_boolean.vacation_mode
    from: "off"
    to: "on"
    trigger: state
conditions: []
actions:
  - target:
      entity_id: automation.anwesenheit_simulieren
    data:
      skip_condition: true
    action: automation.trigger
mode: single

AFAIK you cannot pass data to a Home Assistant automation when running it manually/through a automation.trigger action.

As the Philips Hue native automation seems to be exposed as kind of a subclass of HASS’s automations, I don’t imagine they would be any different.

Can’t you preselect everything in the Hue app and then just start the automation from HASS without providing additional data?

I’m pretty sure the Hue integration doesn’t create automations…
You cannot edit this automation?

I’ve never seen an automation generated by the integration either.

@summpaul, how did you create this automation? Is this something perhaps that was created using Hue Labs in the Hue app (which is no longer available, although I believe Hue allowed programs adopted from Hue Labs to keep functioning for people after removing Hue Labs). If so, I am not aware of a way to trigger that from within HA, and I seriously doubt that there is a supported way to do it.

I got the automation through a ChatGPT prompt. :slight_smile:

It just confuses me that in Home Assistant, I have an entity_id for Philips Hue called “automation.anwesenheit_simulieren”, and this wasn’t created by me but rather appeared through the integration of Hue with HA. That’s why I thought it should be possible to control this default automation directly via Home Assistant as well.

Sigh. Please stop posting AI hallucinated garbage in the forums. :man_facepalming: Should almost be a bannable offense as it just wastes everyone’s time.

The Hue integration does not create automations. What it will do is create a switch entity for each Hue automation it finds on the Hue Bridge. To start that automation you obviously cannot use automation.trigger, as to Home Assistant this is not an automation. You flip the switch with switch.turn_on.

Well, if that is actually an automation, please post the YAML source of it (formatted, please)