That is the same error we saw from others who had an outdated Home Assistant pfSense integration installed. You will need to update the integration in Home Assistant (or disable it).
The error isn't coming from code in pfSense, but code being sent by that pfSense integration, so there is nothing pfSense can do to alter that code.
There are several threads for this already if you need more information.