If you wanted a global variable it would be possible to use helpers to store some thing. There is also this:
Trigger based template sensor to store global variables.
What they are talking above is a much better implementation, however.
If you wanted a global variable it would be possible to use helpers to store some thing. There is also this:
Trigger based template sensor to store global variables.
What they are talking above is a much better implementation, however.