safepay / sensor.fronius

A Fronius Sensor for Home Assistant
MIT License
80 stars 32 forks source link

Restoring day energy conversion to kWh and removing two redundant smartmeter sensors. #20

Closed nilrog closed 4 years ago

nilrog commented 4 years ago

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.