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

Add ability to override rates with Go tariff #81

Open
markgdev opened this issue Jul 10, 2021 · 7 comments
Open

Add ability to override rates with Go tariff #81

markgdev opened this issue Jul 10, 2021 · 7 comments
Assignees

Comments

@markgdev
Copy link
Owner

Add ability to override rates with Go tariff

@markgdev markgdev self-assigned this Jul 10, 2021
@create-issue-branch
Copy link

@MJP-76
Copy link

MJP-76 commented Jul 10, 2021

Nice, Was just thinking how I could do this without changing all my automations that are based on Agile rates / times so they fire at Go low Rate / Time

Do you have update doc/config

@markgdev
Copy link
Owner Author

Yup, they're there now, I hadn't merged it in..

@MJP-76
Copy link

MJP-76 commented Jul 10, 2021

Yup, they're there now, I hadn't merged it in..

Cheers. Just confirming If i have the following the rates card will show my day rate of 15.33p in the half hour slots from 04:30:00 to 00:00:00 and from 00:30:00 to 04:00:00 as 5p

`
gorate: 5
godayrate: 15.33
gotimes:

  • "00:30:00"
  • "01:00:00"
  • "01:30:00"
  • "02:00:00"
  • "02:30:00"
  • "03:00:00"
  • "03:30:00"
  • "04:00:00"
    `

@markgdev
Copy link
Owner Author

The times are in GMT, so assuming you're on standard Go you'll want to start at 23:30 and end at 03:30. Annoyingly it means you'll have to change it when the clocks change, I'll try and make that not the case by October! But today was a bit of a quick fix for me just to get something working.

@MJP-76
Copy link

MJP-76 commented Jul 13, 2021

Hey there.

Looking forward to the GMT/BST/UTC time fix but whilst you are at it, I have an idea for you

If override with go rates & day rates in the yaml, it shows what you have entered on the rates card which is cool but is there any way this can also show on the current/average/next sensors?

Reason I ask is that my parents live in my annexe which is completly seperate from the main house and is not automated but does share the electricty and based on the state/price or colour of the rates they have on their home assistant app they put appliance on at the given times etc

Maybe I am missing something with the rates card or do I need to update it. I use the HACS installation

@markgdev
Copy link
Owner Author

It should already override the sensors, is it not?
I don't override day rates but can see the nighttime rates override in the current sensor.image

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

2 participants