Non numerical values on y axis for time series panel

Hello all, I’m wanting to build a time series graph where a string value is used on the y axis. I know I can plot this as a state timeline and I have here…

But what I need is a time series graph with a line that moves between the two states like this…

I’d like to be able to plot like this as it is easier to put that next to other time series graphs and view correlation.

Any help would be appreciated. Thanks!