nielsfaber / scheduler-card

HA Lovelace card for control of scheduler entities
GNU General Public License v3.0
926 stars 117 forks source link

[FR] Duplicate action #760

Closed LukaszP2 closed 4 months ago

LukaszP2 commented 1 year ago

Checklist

Proposal

Add action to duplicate schedul.

Additional info

Many times I do simillar schedulers and I must do it from beginning. This will help expecially with very expanded one.

jj-uk commented 12 months ago

I was just about to request this.

Use-case: I'm setting up the scheduler for a heating system. I have several rooms to control. Each room needs a schedule for each day of the week, as the trigger times are different for each day, in each room; I need approx 40 schedules.

If the editor allowed editing in yaml it would be easier to copy/paste, but I guess there's other background reasons why there's no 'edit in yaml' option for this card.

Suggestion: Add a 'duplicate' or 'copy' button next to 'save', that when clicked opened up the new copy?

image

imbryk commented 11 months ago

One more upvote for this ⬆️

My usecase is a little bit different - I have different rooms with same time schedule (based on my electric tariff), but temperatures should be a tad different, so in bathroom I will always keep it a bit warmer. I would like to duplicate schedule, and just modify the temperatures in those rooms, as opposed to creating the time slots from the start

github-actions[bot] commented 10 months ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days

jj-uk commented 10 months ago

Commenting to prevent stale status.

jasonalsing commented 10 months ago

Would love to have this. Currently looking to modify a schedule from daily to separate schedules for weekdays and weekends, would be nice to make a quick copy and just change days and parameters real quick.

github-actions[bot] commented 9 months ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days

jj-uk commented 9 months ago

Commenting to prevent stale status.

github-actions[bot] commented 8 months ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days

jj-uk commented 8 months ago

@nielsfaber Is it possible to disable the automatic 'stale -> close issue' for feature requests?

nielsfaber commented 8 months ago

@jj-uk I agree this feature could be useful, but I don't have the time to work on this. So if no one else takes the initiative to implement the feature there I don't see the point of keeping it open forever, so i think stale issues are unavoidable.

github-actions[bot] commented 7 months ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days

jj-uk commented 7 months ago

@jj-uk I agree this feature could be useful, but I don't have the time to work on this. So if no one else takes the initiative to implement the feature there I don't see the point of keeping it open forever, so i think stale issues are unavoidable.

Do you have an explanation of setting up the dev environment? I might try to add this feature.

github-actions[bot] commented 6 months ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days

jj-uk commented 6 months ago

I still think this is a worth while addition- willing to give it a try if you can explain how to set up a dev environment on windows.

github-actions[bot] commented 5 months ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days

jj-uk commented 5 months ago

Can anyone explain for to setup a debug enviroment?

github-actions[bot] commented 4 months ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days

Gandulf78 commented 2 weeks ago

Having myself a lot of schedules to set up, I agree it would be a very valuable feature.