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 configuration seems to not working #378

Closed
karilabermo opened this issue Apr 28, 2024 · 4 comments
Closed

VAT configuration seems to not working #378

karilabermo opened this issue Apr 28, 2024 · 4 comments

Comments

@karilabermo
Copy link

Include VAT | no | Default: true Add Value Added Taxes (VAT) or not.
I assume the the following settings will show a price without VAT
Include VAT : false
And
Include VAT : true
Will show prices with VAT, if so this seems not to work for the SE3 are in sweden what i can see.
Best regard
Kari

@zanoii
Copy link

zanoii commented May 20, 2024

Agreed. The VAT setting does not make a difference. Tested configuration both through UI and YAML, for SE2. Prices are always without VAT.

I tried hardcoding VAT in sensor.py to find the issue, but to no avail.

@Hellowlol
Copy link
Collaborator

The code for this is really simple. Please create two new sensors one with and one without. Leave additional costs blank

@zanoii
Copy link

zanoii commented May 21, 2024

The code for this is really simple. Please create two new sensors one with and one without. Leave additional costs blank

That is not a solution, is it? I already have two sensors, one "base price" and one including all additional costs (All-in-one). Neither show VAT even though the additional sensor have the VAT checkbox checked.

I can use the base price sensor to calculate the VAT for the AIO sensor, but that is a hacky workaround at best, and not a solution to what seems like a bug.

@Hellowlol
Copy link
Collaborator

Closing as the issue template has not been used. The code here is really simple, and has worked out of the box for a really long time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants