Astro - HANDLER_CONFIGURATION_PENDING

Hello,

I have just upgraded from Openhab v3.2.0 to v. 3.3.0. on my RPI3B+. After the upgrade the astro thing “Astro Sun Data” doe not work with the following message:

2022-07-08 18:41:45.289 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'astro:sun:47ba2aac' changed from UNINITIALIZED (HANDLER_CONFIGURATION_PENDING): {earliest=The value  does not match the pattern ^([0-1][0-9]|2[0-3])(:[0-5][0-9])$.} to UNINITIALIZED
2022-07-08 18:41:45.303 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'astro:sun:47ba2aac' changed from UNINITIALIZED to UNINITIALIZED (DISABLED)
2022-07-08 18:41:47.379 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'astro:sun:47ba2aac' changed from UNINITIALIZED (DISABLED) to UNINITIALIZED (HANDLER_CONFIGURATION_PENDING): {earliest=The value  does not match the pattern ^([0-1][0-9]|2[0-3])(:[0-5][0-9])$.}

HANDLER_CONFIGURATION_PENDING
{earliest=The value does not match the pattern ^([0-1][0-9]|2[0-3])(:[0-5][0-9])$.}

In fact is not an INFO but an ERROR. “Earliest” is defined at channel level but the whole thing if OFF. And I have not found anything “special” in channels :frowning:
Does anyone know how to fix it? (I would not like to create a new thing and start again linking with items)

ERROR is defined as „may affect the whole system“ this is clearly not the case here.

What is configured for „earliest“?

There is no earliest definition at the thing level. earliest deifnitions can be set up per channels of that thing. Looking at my file: org.openhab.core.thing.Thing.json I can see the following 4 channels with earliest

 "astro:sun:47ba2aac": {
    "class": "org.openhab.core.thing.internal.ThingStorageEntity",
    "value": {
      "label": "Astro Sun Data",
      "channels": [
        {
          "kind": "STATE",
          "label": "Start Time",
          "description": "The start time of the event",
          "properties": {},
          "defaultTags": [],
          "autoUpdatePolicy": "DEFAULT",
          "itemType": "DateTime",
          "configuration": {
            "earliest": "",
            "offset": 0
          },
          "uid": "astro:sun:47ba2aac:rise#start",
          "channelTypeUID": "astro:start"
        },



      {
          "kind": "TRIGGER",
          "label": "Range Event",
          "description": "Range event",
          "properties": {},
          "defaultTags": [],
          "autoUpdatePolicy": "DEFAULT",
          "configuration": {
            "earliest": "07:45",
            "offset": 0
          },
          "uid": "astro:sun:47ba2aac:rise#event",
          "channelTypeUID": "astro:rangeEvent"
        },

   {
          "kind": "TRIGGER",
          "label": "Range Event",
          "description": "Range event",
          "properties": {},
          "defaultTags": [],
          "autoUpdatePolicy": "DEFAULT",
          "configuration": {
            "earliest": "00:00",
            "latest": "00:00",
            "offset": -10
          },
          "uid": "astro:sun:47ba2aac:nauticDusk#event",
          "channelTypeUID": "astro:rangeEvent"
        },


     {
          "kind": "TRIGGER",
          "label": "Range Event",
          "description": "Range event",
          "properties": {},
          "defaultTags": [],
          "autoUpdatePolicy": "DEFAULT",
          "configuration": {
            "earliest": "00:00",
            "latest": "00:00",
            "offset": -240
          },
          "uid": "astro:sun:47ba2aac:daylight#event",
          "channelTypeUID": "astro:rangeEvent"
        },


Channel configuration belongs to thing configuration. And if you look at the configuration for astro:sun:47ba2aac:rise#start, you’ll see: "earliest": "" which clear does not match the regular expression above. If you fix that configuration, the thing will work.

After fixig the earliest there was also another error with a strange date of 1969!:
{latest=The value 1969-12-31T23:00:00.000Z does not match the pattern ^([0-1][0-9]|2[0-3])(:[0-5][0-9])$.}

and after fixing it works.
Thanks