I have made this blueprint for a friend, so he can easily add scripts that sends remote commands to search for tv shows. one script for letter A, one script for letter B and so on.
I have made this one with 4 inputs. Is it possible to set an input as optional? So if he just wants to add 3 scripts, to search for a 3 letter word? Or do I have to make a separate blueprint with just 3 inputs?
blueprint:
name: Søk opp serie vanlig 5 bokstaver
description: Søk opp serie vanlig 5 bokstaver
domain: script
author: Vintage89
input:
bokstav_1:
name: 1. bokstav
selector:
entity:
domain:
- script
bokstav_2:
name: 2. bokstav
selector:
entity:
domain:
- script
bokstav_3:
name: 3. bokstav
selector:
entity:
domain:
- script
bokstav_4:
name: 4. bokstav
selector:
entity:
domain:
- script
mode: single
sequence:
- service: script.sok_opp_tv_show
metadata: {}
data: {}
- service: !input bokstav_1
data: {}
- service: !input bokstav_2
data: {}
- service: !input bokstav_3
data: {}
- service: !input bokstav_4
data: {}
- service: script.velg_sokt_episode
metadata: {}
data: {}
- delay:
hours: 0
minutes: 0
seconds: 4
milliseconds: 0
- service: remote.send_command
metadata: {}
data:
num_repeats: 1
delay_secs: 0.4
hold_secs: 0
command: select
target:
entity_id: remote.living_room