I monitor some disk temperatures, and show them with either blue or red “icons” (jpgs made from MDI icons). An input_number sets the max temp before showing red. This worked properly until 90.0. The controlling logic is in customize.yaml like this (but indented properly):
sensor.c2750d4i_ada2:
templates:
entity_picture: >-
if (parseInt(state) <= parseInt(entities[‘input_number.max_zvol’].state)) {return ‘/local/icons/harddisk-40.png’;} else {return ‘/local/icons/harddisk-red-40.png’;}
I recognize that using javascript templates like this depends on the home-assistant-custom-ui by andrey-git, and there may be an issue with it in 90.0.
Any suggestions for fixing or replacing this?