Issue #3072108 by leymannx, Dave Reid: FatalThrowableError accessing entity settings form due to typehinting on State rather than StateInterface.