Possible to put a config inside a sensor?

Hello mxp83,

This might help.
Trigger based template sensor to store global variables.