well, it has never been supported from within HA core. It always needed the custom-ui custom card. the original is no longer valid for Ha Lovelace, but I (try to ) maintain a version that does, at https://github.com/Mariusthvdb/custom-ui
If you install that you can use those templates and use icon_color.
if you only care for the Frontend, you’d be better of with card-mod, which is always updated by magician Thomas Loven
P.S. Configuration → Settings → Check Configuration reported no errors, so if those entries were no longer supported, I would have thought it would error out there