MQTT Text payload larger then 256

I have read just about every post on this topic but just can’t seem to get my config to work. My broker send out the 5 day weather forecast in 5 different topics several times a day. NWS Forecast/1, NMS Forecast/2, etc
The sensor configuration is very basic but works great until the payload exceeds the 256 limit.

How do I alter these basic sensors to use an attribute to hold the payload?

mqtt:
     sensor:
        -name: "NWS Forecast 1"
         state_topic: "NWS Forecast/1"

You have hit the entity size limit.
Attributes can be bigger bit 255 is the limit .

Understood, Considering my sensor set up, what would additional configuration would you recommend I try?

I don’t really know, other that attributes can hold more info, so storing it in an attribute somehow.

Search more in the community to find what others have done.
Tips on Searching for Answers & Duplicate Topics in the Forum.

I’d create an automation that listens to the incoming MQTT message and reposts it with the payload in an attribute, since they can pretty much be any length. But it also depends on what you want to do with the text.

Is the payload in JSON format?

If it is then you can use the json_attributes_template option.