hass-entso-e icon indicating copy to clipboard operation
hass-entso-e copied to clipboard

VAT tariff, unable to enter a single digit %

Open TsaneTips opened this issue 1 year ago • 2 comments

I re-added the new version and want to opt for the added VAT tariff. For Belgium this is marked as the standard 21%, but as already mentioned it is temporarily lowered to 6%.

When changing the tariff form 0.21 to 0.06 it seems impossible to enter the 0.06 value. When entering a 0 behind the decimal (0.0), the decimal disappears and just takes the 6 as the vat-value (600%)

Workaround is to enter 0.21, change to 0.26 and then change to 0.06, but there must be another solution :D

TsaneTips avatar Oct 29 '22 08:10 TsaneTips

I see, that's annoying. It seems to be the way HA handles float values. I'll have to find a workaround i guess. (asking for a string and converting that to floats maybe?)

JaccoR avatar Oct 29 '22 10:10 JaccoR

for the time being I succeeded in entering a 9% tarief in the following way: enter: 9009 move cursor between zero and zero and enter a dot . => 90.09 move cursor between 9 and zero and press

that's it for me.

ikke-zelf avatar Oct 31 '22 18:10 ikke-zelf