custom-components / pyscript

Pyscript adds rich Python scripting to HASS
Apache License 2.0
874 stars 46 forks source link

Is it possible to get the home assistant entity selection dialogues when running services? #493

Open zachboatwright opened 1 year ago

zachboatwright commented 1 year ago

I've figured out that if I name an argument "entity_id" in a service function, that I will get a dropdown when calling the service in the UI: singleentity


Is there a way to select multiple entities and pass them in as a list similar to default HA services, like light.turn_on? multientity

I've tried a few different things and have looked through the docs but haven't seen a way to do it. If it isn't possible yet, it would be a great feature.