Customize.yaml not working?

I noticed none of my customizations appear to be working anymore. This could have happened after I updated to the latest HA version. I went from .87 to .96.5 recently. Everything was working before.

I was trying to customize the icon color for a lock. Here’s my config from the customize.yaml.

    icon: "if (state === 'locked') return 'mdi:lock'; return 'mdi:lock-open';"
    icon_color: "if (state === 'locked') return 'red'; return 'green';"

Funny thing is, when I look at the state of the entity it reports the correct color and icon for the state. But the actual icon on the entity card is just a regular blue. None of the other entities that I’ve customized are showing the correct colors anymore either. Did this change between versions?