ignacio82
(Ignacio Martinez)
1
Is it possible to have a field for a script that uses a filter that includes multiple integrations instead of just one? This is what I tried:
fields:
player:
selector:
entity:
filter:
integration: ['vlc_telnet', 'esphome', 'cast']
name: Player
required: true
default: media_player.family_room_wyoming
But it did not work. Thanks for the help!
123
(Taras)
2
I don’t have much experience with selectors but based on this example in the documentation, I believe you can do it like this (untested):
fields:
player:
selector:
entity:
filter:
- integration: vlc_telnet
domain: media_player
- integration: esphome
domain: media_player
- integration: cast
domain: media_player
name: Player
required: true
default: media_player.family_room_wyoming
1 Like