Why do I get error setting state_class 'measurement' and device_class 'volume'

Regardless, thank for clarifying and helping here!