This pull request will restore the day energy conversion to kWh back to how it worked before I broke it.
It also removes two of the new smartmeter ensor because they will return the same value as two other sensors so it doesn't make much sense in keeping them. They should not have been part of the pull request that added the smartmeter sensors.
Note: I have not tested the day energy conversion. But it restores the same check that was in the code in the beginning for day energy so it should work.
This pull request will restore the day energy conversion to kWh back to how it worked before I broke it.
It also removes two of the new smartmeter ensor because they will return the same value as two other sensors so it doesn't make much sense in keeping them. They should not have been part of the pull request that added the smartmeter sensors.
Note: I have not tested the day energy conversion. But it restores the same check that was in the code in the beginning for day energy so it should work.