Use variables in settings

I have a few situation where I’d like to have the bt scan component scan every second for presence detection, but since it’s quite unnecessary most of the time I’d like to be able to change this setting from within an automation to minimize load on the Rpi.

I can’t think of any other useful examples atm, but I’m sure that being able to use variables in the configuration.yaml file would open up a lot of possibilities.