Home Assistant Add-on: rtl_433 with MQTT auto discovery

That’s your problem! Only the file ending in .template will have variables replaced. If you have rtl_433.conf it is used as-is with no changes.