Xiaomi yeelight data configuration. Has anyone gotten data attributes to work?

I’ll past my code if necessary, but for the moment, I just wanted to see if this functionality is even available. Anywhere I put data: with respect to a yeelight, it seems to stop that function from working( but I don’t get any errors). Has anyone had any success with setting data attributes for these lights?