I have a need to have a conditional card provide me with following criteria:
I need to be able to select a room (input_select.device) then based on (input_select.device) I need to be able to select a switch (input_select.switch) for the device based on the results of the first input select.
So if I select “bedroom” from (input_select.device) I need switch.bedroom1 linked to “bedroom” presented as a selection in (input_select.switch) .
The main goal is to set a weekday and time to a timer for a device/switch/light for a device.
It is not possible to filter a list based on another selection (this isn’t Excel)
You will have to set up a control for each item you want to control.
Try Tom’s code as a starting point : -
You ‘could’ then list these in a folding card to basically hide the meat of them until selected but that’s a completely different issue.
Edit: Tom’s answer below gives you a front end solution, so maybe that’s all you need ?
Thank you very much. Its not 100%, but you put me 100% in the right direction. Im smiling every time I get 1 step closer. Busy migrating my current system from bl@!nk.