WTH is 255 the max length for states?

There are so many times where I run into problems trying to create a sensor because the state object is limited to 255 characters. There are plenty of instances where this is far too few. Especially with string and rest sensors.

This is where we generally have a relatively short state, and make use of that you can basically store whatever length you want in the attributes.

Agree text input restricted to 256 chars even twitter is 280 chars

but this cant handle long urls