Grafana Discrete and Mysql

I’m trying to achieve something similar to what you see in hassio history window with states. I found multiple examples using influxdb but couldn’t figure out the way to do it with a mysqldb

here what I have

I would have wanted to have the sates of light.bureau inside instead of a 2nd row.
any ideas what im doing wrong?