Using template generated list of device_id in action service

If you’re using what Troon suggested, please mark Troon’s post with the Solution tag (not your own post which merely reiterates his suggestion). That’s how the Solution tag is meant to be used.

Otherwise, it looks like everyone ultimately answers/solves their own question/problem.

For more information, refer to the community’s FAQ (notably guideline #21).


FWIW, for the longest time I have thought that the discrepancy between how templated lists are handled by the entity_id and device_id options is a bug. I don’t see the reason why device_id chooses to make the template’s list a member of yet another list. It should handle it the way entity_id does.