Design Pattern: Simple State Machine (e.g. Time Of Day)

EDIT

Ok, got the files in the right place and it seems that something happens since I get a value for the Default Evening item. Now the next questions is comming up … where do I define the start times of my default items? Is ist possible to define fixed time when a time of day is supposed to be starting?

I read in a post that you have to set times in the item itself but how? Just got the Default Day working by linking the Lokal Sun Data - Thing rise#start - Channel to the Default Day Item. Here post #542 it was mentioned to …

  • manually set the times you want for those items (openhab:send from the console), only the time is needed and it’s only needed once

… how do I do this? Is this the part where OH 3 Examples: How to boot strap the state of an Item comes into play?

Thanks again for enlightening input!

:man_facepalming: OK he who reads will get the info he seeks! The solution to the problem ist the boot strapping part!

OK, the boot strapping part probably is the right way but does not work as discribed. Unless I am missing something. Adding the metadata part works but unfortunatly when trying to set a time I need to put date and time in otherwise I get a error. When adding date and time the item state is not changed and remains NULL. Is there a need to uncomment or change something in the .yml rule?