Cost override deprecated and Tracker Tarrif (2 part question) #918
-
Firstly I see you are asking about what tariff's people are on, and for the life of me I do not see "tracker" as an option. And secondly, on upgrading to the new versions v11.1 releases, I get the "Repairs - Cost override deprecated" warning, and I saw the post from another member, that you mentioned finding my "tariff code" in the corresponding current rate sensor.... but I don't have one. I can just disable this and problem goes away, but it's useful as its giving the tariff code. I'm assuming the API is pulling the data from my account as I've never entered it... Which I can use with some rest pulls direct from Octopus. Is there a new/other sensor coming that will include my current tariff code Octopus think I am on that either I've missed or is missing for those on tracker. I am suffering a massive cold/cough, so I may just be missing something really obvious but I've looked at this since the v11.0 release, and I just can't see what I'm missing. Any help or points would be welcome. As always Dave thanks for everything you do. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
I just had a moment of.. oh is it there (thinking speed is cut to at least a 1/10 normal). I see the current tariff code is an attribute of the current_rate entity. Assuming that is not changing, that's fine I can re-code to using that. So just leaves the question, how different is tracker to the other tariffs and do you want to know how many people are on that (worth noting people can split their services between two tariffs). And just saw that was posted last year...So maybe a mute point now. |
Beta Was this translation helpful? Give feedback.
Hello. The tariff code on the cost override is set to your current tariff upon creation. If you ever switched tariff after using the intergation, there's a chance that the restoring of the sensor automatically kept it on your old tariff. This is possibly how you're getting the reparit notice despite never knowingly using the cost override feature. The repair notice is to try and alert people who use it that it's migrating to a new way. If you don't use it, you can ignore the repair notice.
The tariff code on the current rate sensor will always show your current tariff, so will change when you change tariff automatically. This is what you should be using if you need the tariff code for som…