What is the MQTT device publishing the discovery?
It looks like Tasmota Discovery JSON implying JSON, so the standard “upgrade to the latest version” advice applies.
A few tips on Tasmota and a MQTT checklist might also help:
If this helps,
this post!