No there is no configuration for that. You would have to calculate it yourself with template sensors or helpers.