Choose between multiple selectors for the same input in Blueprints

Hi!

I noticed a behavior in the visual automation editor that I’d like to emulate in a blueprint,
namely the possibility to choose between selectors for a named input (manually and using a value from a helper on the dashboard).

I search to the best of my ability but couldn’t find any examples.

My attempt was this:

  input:
    climate_id:
      name: Thermostat
      description: The thermostat to control.
      selector:
        entity:
          domain: climate
          multiple: false
    cooling_temp:
      name: Cool Set Point
      description: The target temperature when cooling.
      choose:
        - selector:
            number:
              min: 0.0
              max: 100.0
              step: 1.0
              mode: slider
              unit_of_measurement: "°C"
        - selector:
            entity:
              domain: input_number

It didn’t work and I’m pretty sure that choose is the wrong tool.
Is it even possible?

That is not possible. The automation UI doesn’t use Blueprint logic for that (the automation UI it is not statically defined, like a Blueprint is).

…/Frenck

I understand, thanks!

1 Like

I was just wondering if this was possible. Instead of having it being a choice could you setup a boolean that chooses between two inputs (one manual and one helper) and the boolean gates what values the blueprint looks at?