ioBroker.heatingcontrol icon indicating copy to clipboard operation
ioBroker.heatingcontrol copied to clipboard

CopyPeriods - destination periods more than source periods

Open alfiriel opened this issue 1 year ago • 5 comments

Installed version: 2.11.1

CopyPeriods Button should delete all destination periods before copying.

RoomXYZ -> Mon -> Periods -> Filled with 3 Periods

RoomXYZ -> Tue -> Periods -> Filled with 5 Periods

If I use button "heatingcontrol.0.Profiles.1.RoomXYZ.Mon.CopyPeriods", than it copies period 1-3 from Monday to Tuesday. Periods 4 - 5 on Tuesday are still available. I would expect them to be deleted.

Any suggestions about that?

alfiriel avatar Oct 08 '23 16:10 alfiriel

@alfiriel Just that i get it right:

  • you have a profile for "every day separately"
  • this profile has 5 periods
  • now you change the number of periods to three in admin
  • then you set the three periods for Monday and press "copyPeriods"
  • the three periods from Monday are copied to Tuesday

Nevertheless, you still see two unused periods in the object tree on Monday, Tuesday and also for the rest of the week?

rg-engineering avatar Nov 22 '23 15:11 rg-engineering

@alfiriel any further comment on this?

rg-engineering avatar Feb 25 '24 14:02 rg-engineering

@alfiriel any further comment on this?

Sorry for the late reply. Your example matches well!

Regards

alfiriel avatar Feb 25 '24 21:02 alfiriel

grafik

There is now a log to show that you have unused datapoints and there is a button to delete them.

I don't want to delete those data automatically because then you loose it if you just want to try something. I prefer the user can do that...

rg-engineering avatar Mar 03 '24 16:03 rg-engineering

Wow, perfekt. Thank You!

alfiriel avatar Mar 04 '24 12:03 alfiriel