Code Monkey home page Code Monkey logo

Comments (4)

zanoii avatar zanoii commented on July 23, 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.

from nordpool.

Hellowlol avatar Hellowlol commented on July 23, 2024

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

from nordpool.

zanoii avatar zanoii commented on July 23, 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.

from nordpool.

Hellowlol avatar Hellowlol commented on July 23, 2024

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.

from nordpool.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.