How to merge yaml !input with another list?

  input:
    extra_triggers:
      name: Extra Triggers
      description: Additional triggers to actions.
      default: {}
      selector:
        trigger:
trigger:
  - platform: state
    entity_id: !input entity  
 # !input extra_triggers # append to 

Merge Trigger Selector with other Triggers.

Help using the new Trigger Selector (2023.12) in Blueprint.

Maybe u can’t clear hear me :slight_smile:

Already use what describes at this link. The root cause issue I can’t use default triggers cuz

blueprint:
  name: default triggers example
  domain: automation
  input:
    entity:
      name: Entity
      description: Entity
      selector:
        entity:
          multiple: false
 
    triggers:
      name: Triggers
      description: Triggers your automation
      default:                                   #Add a default trigger list
        - platform: sun                      #
          event: sunrise                     #
          offset: "00:00:00"                #
       - platform: state
         entity_id: !input entity  

      selector:
        trigger:

translated to

platform: state
name: entity

cuz entity choose before

I need to trigger via

trigger:
  - platform: state
    entity_id: !input entity  

by default

plus user can define own triggers

I think if you read those, you will find everyone has that problem and there are issues posted to look at that. Maybe thumb up those issues to help get it to be changed.

1 Like

I see. Ok, got it.
Thank you for reply.

Maybe thumb up those issues to help get it to be changed.

btw, I can not only thumb up… I can help to develop as well…

1 Like