Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VAT tariff, unable to enter a single digit % #48

Open
TsaneTips opened this issue Oct 29, 2022 · 2 comments
Open

VAT tariff, unable to enter a single digit % #48

TsaneTips opened this issue Oct 29, 2022 · 2 comments
Labels
bug Something isn't working config flow

Comments

@TsaneTips
Copy link

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

@JaccoR
Copy link
Owner

JaccoR commented Oct 29, 2022

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 JaccoR added the bug Something isn't working label Oct 29, 2022
@ikke-zelf
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working config flow
Projects
None yet
Development

No branches or pull requests

4 participants