Hi, hope you guys can help since i have a similar issue where the script does not show up but switches do. Here is my config, any help would be great
google_assistant:
project_id: XXXXXX
api_key: XXXXXXXXXXXXXXX
exposed_domains:
- script
- input boolean
- switch
entity_config:
scripts.doors_chk:
name: Check my doors
aliases:
- Check all my doors
expose: true
scripts.yaml
doors_chk:
alias: Check all my doors
sequence:
- service: tts.google_say
entity_id: media_player.family_room_speaker
data_template:
message: >
{% set open_doors = states | selectattr(‘entity_id’, ‘in’, state_attr(‘group.all_doors’,‘entity_id’)) | selectattr(‘state’,‘in’,[‘on’,‘open’]) | map(attribute=‘name’) | list %}
{% if open_doors | length == 0 %}
All doors are closed.
{% elif open_doors | length == 1 %}
The {{ open_doors[0] }} door is open.
{% else %}
The {{ open_doors[:-1] | join(’ door, ‘) }}{{’ door,’ if open_doors | length > 2 else ’ door’}} and {{ open_doors[-1]}} door are open.
{% endif %}