Giter VIP home page Giter VIP logo

Comments (5)

esciara avatar esciara commented on June 11, 2024

Following the potential workarounds I found with Google, each time I try to remove the entity directly from the /config/.storage/core.entity_registry file and its corresponding item in the /config/.storage/scheduler.storage file, when I reboot HA, the entity reappears.

from scheduler-component.

nielsfaber avatar nielsfaber commented on June 11, 2024

You should always be able to delete schedules via the service 'scheduler.remove'. Modifying files in the .storage folder can be dangerous.

Regarding your configuration:

For days, choose Sunday
In the options tab, for "Period", choose the following wednesday => this makes that the next timeslot cannot be calculated

I agree with scheduler that this is an incomputable combination, so I am not surprised it is marked as defective. This is your own responsibility and not a bug.

from scheduler-component.

esciara avatar esciara commented on June 11, 2024

I agree with scheduler that this is an incomputable combination, so I am not surprised it is marked as defective. This is your own responsibility and not a bug.

Thanks for your reply.

Could the code be improved to handle this case more gracefully rather than putting the user in a hard to recover state ? It could be having a clearer message saying how to recover from it, as despite my best efforts I could not find a solution, hence this issue got created.

It is easy to make this kind of mistake and I find getting a "punishment" like this for an involuntary mistake is a bit harsh...

from scheduler-component.

nielsfaber avatar nielsfaber commented on June 11, 2024

I agree the code can be improved to handle this better.
But personally I don't have time to do so. You are invited to submit a PR for this.

from scheduler-component.

esciara avatar esciara commented on June 11, 2024

Yes of course. And I am willing to look into the code and opened the issue in case someone else was interested in improving it.

Is it ok to reopen the issue then? And would you have some guidance on how you think this should be handled best?

from scheduler-component.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.