in fact this exactly the current state, you can still use the now legacy badges as custom (for the time being)
see 2024.8: Beautiful badges! - #10 by nickrout
simply use:
custom:hui-state-badge-element
entity: your.entity
I would have done it differently as I feel the pain of ‘progress’ breaking something that works for a lot of users… but, somehow the dev team wont be persuaded to do it differently (some of us tried to bring forward these arguments). So there is no other way than adapt.