Can I use fields to pass entity_id to script and then perform necessary actions with real equipment?
For example, I would like to pass into the script entity_id for power on and entity_id for light on and then in a loop to make the light on, etc., I have such a script, but since there are many lights I would like to create a script with fields and without changing the script itself to pass it different entity_id. If for my task it is necessary something else, not fields, also give me a hint.
you have a lot of files)) could you give the name of the yaml file where the script gives some entity_id as input and then further with it is made some actions ?