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

Feat: Add dynamic limits based on entities #77

Merged
merged 1 commit into from
Apr 5, 2024
Merged

Conversation

alinbalutoiu
Copy link
Contributor

I've had this for a while on my local installation, I quite like to have some additional limits defined based on an input number that I can adjust.

That input number is used to trigger certain automations for example which is very helpful for me to see it easily on the graph.

This is when I realised that it's quite straightforward to support sensor/input entities for the limits, so that you can set it dynamic if you'd like based on another sensor. This doesn't include any breaking changes, it will detect if an entity is passed as a parameter and it will read the state in that case.

Fixes: #74

@alinbalutoiu
Copy link
Contributor Author

Hey @lozzd 👋
Can you have a look over this PR when you have the chance? 🙏
Let me know if I can help with anything

@lozzd lozzd merged commit d6ec28a into lozzd:main Apr 5, 2024
1 check passed
@lozzd
Copy link
Owner

lozzd commented Apr 5, 2024

Thanks for this! Sorry for the delay!

@mushroomboxepogee
Copy link

Do you know if there are any easy step-by-step guides to getting this working (for complete beginners). I've installed this and it just tells me that the rate card isn't active. I'm sure I've got to do something somewhere else, but not sure what. I just want a display of Agile prices or graphs on my Home Assistant screen, I'm not looking to switch anything.

@alinbalutoiu
Copy link
Contributor Author

Hey @mushroomboxepogee ! If I understand it correctly, I'm afraid that isn't possible.

This frontend integration relies on https://github.com/BottlecapDave/HomeAssistant-OctopusEnergy which in turn rely on you having Octopus as your energy provider and having your tariff set to Octopus Agile. It won't work otherwise.

If you just want to see the agile prices graph, I recommend you update your home assistant to the latest version and add https://agile.octopushome.net/dashboard as a web page to see the prices.

@mushroomboxepogee
Copy link

Thankyou - very helpful.

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

Successfully merging this pull request may close these issues.

Use sensor value for limits
3 participants