home-assistant_OctopusAgile icon indicating copy to clipboard operation
home-assistant_OctopusAgile copied to clipboard

Add ability to override rates with Go tariff

Open markgdev opened this issue 3 years ago • 7 comments

Add ability to override rates with Go tariff

markgdev avatar Jul 10 '21 15:07 markgdev

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

MJP-76 avatar Jul 10 '21 16:07 MJP-76

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

markgdev avatar Jul 10 '21 17:07 markgdev

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" `

MJP-76 avatar Jul 10 '21 18:07 MJP-76

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.

markgdev avatar Jul 10 '21 19:07 markgdev

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

MJP-76 avatar Jul 13 '21 19:07 MJP-76

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

markgdev avatar Jul 14 '21 18:07 markgdev