Why is electricity then measured in kW/h?
In my understanding, power (instantaneous) is measured in W, but consumption needs to be integrated over time, thus the per hour part.
It's not kW/h, it's kWh
https://en.wikipedia.org/wiki/Kilowatt_hour
Watts is already "per hour", mind. Or per second to be precise.