This is what’s going on. Template sensor: how to set a friendly name with a non-legacy syntax? - #31 by CentralCommand.