This reverts commit f83a8e85b4 because it broke home-assistant.tests.components.energyzero.
f83a8e85b4