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?