Blueprint local variables

I can’t understand what you have there.
Please follow this in the FAQ:

Also 2 days into HA is not the time to start blueprint writing. Start with an automation, get that working, Once that is doing what you want make that into a BP if you still need one.
2 days into HA you should be looking for blueprints that others have written to help / teach you how things work from the blueprint exchange.