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

Implement update(self) as a service to trigger manual updates #34

Open
ademasi opened this issue Aug 24, 2022 · 2 comments
Open

Implement update(self) as a service to trigger manual updates #34

ademasi opened this issue Aug 24, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@ademasi
Copy link

ademasi commented Aug 24, 2022

Hi,

Thank you for this integration.

I am trying to find a way to manually trigger the checks. Does this integration provide this type of service/event?
With time, I came to know the best time to get an item. I would like to optimize the intervals of check for specific store.

Regards, AD.

@Chouffy
Copy link
Owner

Chouffy commented Aug 24, 2022

Hey @ademasi, thanks for your message!
What you want is definitely possible, however I lack the time to do it now 😢 If somebody implement it, I would be more than happy to merge it!
You can find some details here: #15 (comment)

@Chouffy Chouffy changed the title Optimize Interval Checking Implement update(self) as a service to trigger manual updates Aug 24, 2022
@Chouffy Chouffy added the enhancement New feature or request label Aug 24, 2022
@tjorim tjorim added this to the 6.0.0 Rewrite with config_flow milestone Feb 24, 2023
@tjorim
Copy link
Collaborator

tjorim commented Feb 24, 2023

Not sure if this function works, but there is a service named update_entity.
You can call this in an automation to manually update it at your own custom schedule.
Please check and let me know if it does what it should.
(otherwise we will make this work in the v6 release for which mricharz did a rewrite)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants