According to my observations, the "switch_energy" value displayed by Pyfritzhome is the sum of Wh over the last week since measurement. As a result, the correct divisor for representing output as kWh would be 1000 instead of 10000.