kWh is obviously inconsistent with SI conventions if commonly used; but 'kW⋅h' or 'kW h' is completely acceptable. As is 'W⋅h'
A full list of acceptable non-SI units can be found in the brochure here under: "Non-SI units accepted for use with the SI units"
https://www.bipm.org/en/publications/si-brochure
kWh is obviously inconsistent with SI conventions if commonly used; but 'kW⋅h' or 'kW h' is completely acceptable. As is 'W⋅h'
A full list of acceptable non-SI units can be found in the brochure here under: "Non-SI units accepted for use with the SI units"
https://www.bipm.org/en/publications/si-brochure