WTH Unnecessary brightness check for none when dimmer light is turned off

Nope. Brightness has never been an attribute when the light is off. Your template was silently erroring before, now it's exposed as a real error. This was announced last October when default was added to int. Before, it would default to 0, now the user has to specify a default.

To correct your template...

    value_template: "{{ state_attr('light.sovrum_vagg','brightness') | int(0) < 225}}"