Storing state of a non-entity state

I am looking to store the state information that is not part of a specific entity.

Here is what I am trying to do:
I have built a remote controller for my STB and Roku on the same view using Floorplan. However, there are some keys on the remote which are needed by both remotes (e.g. arrow keys) and I need to know which remote I am using to determine which commands the script sends (either to the STB or Roku). However, I don’t have a specific entity that will tell me which remote I am currently using. I have added a slider in the UI to switch between remotes and some keys that will automatically switch the remote (e.g. Netflix button switches to Roku). What I can’t figure out how to do is keep track of which remote I am using. Basically, I want a variable that indicates the current remote. Any ideas how to do this?

since you only have 2 remotes, an input_boolean that you can switch?
Then you can set automations that will udpate the input_boolean based on what you do with the remote

or it you want more than two remotes, use a combo/drop down with the remotes in, which you change /read state of through the automations?

Perfect… that is what I was looking for… Thanks!

That’s a good idea too… Thanks!