Multiple channel types in astro binding - only first per type works

I’d like to define multiple channels per type in .things file of astro binding, eg:

astro:sun:winter  [ geolocation=“99,99”, interval=60 ]
{
    Channels:
        Type start :        set#start  [offset=60]
        Type start :        civilDawn#start [latest=“09:00”]
        Type end :          nauticDawn#end [latest="07:20"]
	
        Type rangeEvent :   set#event  [offset=60]
        Type rangeEvent :   civilDawn#event [latest="09:00"]
        Type rangeEvent :   nauticDawn#event [latest="07:20"]
}

But only the first one per channel types works/fires a trigger. In this example, the civilDawn#event does not fire. But the set#event does. civilDawn would fire, if I remove set.Isn’t there a way to define more than one channel per type in a thing? Do I have to create multiple things with same location to make use of more than one event?

Would be nice if this can be achieved via file instead of UI.

Thanks in advance!

no, there isn’t. Only one set of channels per type of event is allowed.

But civil dawn and nautical dawn are different events so that should work.

I don’t do files so I can’t be of much. I suspect a syntax error. Do the other channels you are not trying to configure with an offset or latest work?

Hi, thanks for your reply, but unfortunately I don’t really understand it.

no, there isn’t. Only one set of channels per type of event is allowed.

At first you write, that only one set of channels is allowed - I agree with that.

But civil dawn and nautical dawn are different events so that should work.

Than you write, that civil and natical dawn are different events and should work - I hoped that, but thats exactly what I tried to explain in OP:

In my code example, only set#start, nauticalDawn#end and set#event do work.. All declarations of any type (start/end/rangeEvent) do not work, if another one of exactly this type is preceding.

Seems kind of unusual for me, but I will go the way to declare another thing for the other events.

I don’t do files so I can’t be of much. I suspect a syntax error.

No syntax error in the way of declaring the thing like written in OP.

Do the other channels you are not trying to configure with an offset or latest work?

I have not tried to remove the optional parameters. But even if it works withour them I would have the problem that the offset / latest is missing :wink:

Thanks for you help - I appreciate it!