First post here
I’m looking to use a previous input in a selector for a blueprint. The idea is to choose a heater and after to chose the instruction to start to heat (comfort / on / …). I search in many ways and didn’t find how to do it.
Any clue ?
Here’s a code exemple :
blueprint:
name: test
domain: automation
input:
entity_heater:
name: Pilot wire eletric heater
selector:
entity:
domain: select
heater_instruction_on:
name: Start instruction for pilot wire
selector:
state:
entity_id: !input entity_heater
If you’re trying to use a previous input in a selector for a blueprint, you can achieve this by setting up a sequence that allows you to choose a heater and then the instruction for heating, like ‘comfort’ or ‘on’. I understand you’ve been searching for solutions, and here’s a code example that might help:
blueprint:
name: test
domain: automation
input:
entity_heater:
name: Pilot wire electric heater
selector:
entity:
domain: select
heater_instruction_on:
name: Start instruction for pilot wire
selector:
entity:
domain: input_select
entity_id: input_select.select_heater_instructions
This YAML code snippet demonstrates how you can set up a blueprint with input options for choosing a heater and its corresponding start instruction. Make sure to adjust the entity_id as per your setup.