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

Cost calculation for Octopus Flexi tariff (Spain) #65

Open
goncal opened this issue May 5, 2024 · 0 comments
Open

Cost calculation for Octopus Flexi tariff (Spain) #65

goncal opened this issue May 5, 2024 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@goncal
Copy link

goncal commented May 5, 2024

Hi!

Thanks a lot for the excellent work in this integration. I have put together some code to estimate the charges corresponding to the Octopus Flexi tariff (Spanish market). I'm adding it below, just in case someone else finds it useful and/or you want to share it in your wiki.
In order for it to work, one needs to set up two instances of the "Workday" integration:

  • binary_sensor.workday_sensor: configured for working days in Spain, offset 0 (today)
  • binary_sensor.workday_sensor_tomorrow: configured for working days in Spain, offset 1 (tomorrow)
    These are needed in order to accurately take into account whether today or tomorrow are official holidays (or week-ends).
    The calculation includes taxes, both IVA (21%) and the tax on electricity (3.8%).

Best regards,
Gonçal
OctopusFlexiES.txt

@luuuis luuuis added the documentation Improvements or additions to documentation label May 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants