smartenergycontrol-be / home-assistant-smappee-charging-profiles

GNU General Public License v3.0
5 stars 1 forks source link

Limit only supports ints while api supports decimal (or double or float) #5

Closed lieven121 closed 1 month ago

lieven121 commented 1 month ago

A the title says you can only set ampere to 6 or 7 amps not 6,5 (afaik the smappee api should support this)

Maybe also add a limit_percentage options where you can set the percentage like in the api this would be a xor with the limit option (either one is fine for normal but at least one is required) image

lieven121 commented 1 month ago

I have submitted a pr where mode is set to NORMAL_PERCENTAGE

it wil change it to NORMAL but accept the limit as a percentage

6