Template select with state as selected option

When I was putting together the cookbook article mentioned in the post Taras linked above, I tried all kinds of different permutations and could never get all the features of a state-based Template Select to work reliably with a trigger. For anything but the most basic entity, the configuration became so convoluted that it just made no sense to continue trying to avoid using a helper for storage. There have been a few functional features added to template entities since my experiments, but, as far as I can tell, they would not increase the viability of trigger-based template selects.

1 Like