jmcollin78 / solar_optimizer

The Solar Optimizer integration for Home Assistant starts and stops your equipments depending on the Solar net production
MIT License
53 stars 10 forks source link

Allow production and consumption to use native sensors unit measure (i.e. kW instead of W) #24

Open Dieghito72 opened 4 months ago

Dieghito72 commented 4 months ago

Is your feature request related to a problem? Please describe. No

Describe the solution you'd like Actually the values from production and consumption sensors must be expressed in Watt, but I have entities (directly from inverter) that are exposed as kilowatt.

Describe alternatives you've considered I know I can create two helper for the conversion.

Additional context Solar production

jmcollin78 commented 4 months ago

Hello, your assumption is not totally correct. All values should be in the same units but not mandatory in Watts.