Astro binding on fresh install: impossible to link all the trigger channels with OH 4.3.0 "There is no profile available for the selected item"

  1. Install a FRESH openhab with https://community-scripts.github.io/ProxmoxVE/scripts?id=openhab
  2. Install the Astro binding
  3. create a thing related to the sun
  4. it’s impossible to link the trigger channels of that thing (see the video)

I also created the same kind of post for the Enocean binding here Enocean : impossible to link a rockerswitch channel with an item in main ui : There is no profile available for the selected item - #29 by remisharrock

That‘s expected behaviour. You cannot link Items to trigger channels, they are used to trigger a rule, as they just fire an event (e.g. sunrise:START). There is no state to be shown.

No, this is incorrect. You can link a trigger channel to an item.

There are a few built-in system profiles that support trigger channels, as listed here:

Trigger profiles can also be created in JRuby.
Currently ScriptTransformation profile doesn’t support trigger channels. I’ll look into adding the support.

The reported issue is just a UI bug / regression.

1 Like

Ok, did not know that for not having any use case for it.

This is correct and true and needs to be fixed. It might be related to another issue discussed on the release thread related to linking channels to things.

But, in this particular case, there is no reason to need to link the trigger channels from Astro to an Item. There is nothing the trigger channels provide that isn’t also provided by the state channels.

@remisharrock, what are you trying to accomplish by linking the trigger channels to an item?

2 Likes

Pedagogical reasons. The real case is in the link about enocean. I cannot control my lights anymore. Waiting for the bug fix…

see Enocean : impossible to link a rockerswitch channel with an item in main ui : There is no profile available for the selected item - #36 by remisharrock for the temporary fix