openhab / openhab-core

Core framework of openHAB
https://www.openhab.org/
Eclipse Public License 2.0
925 stars 428 forks source link

Inconsistency when sending ON/OFF command to groups #4275

Open TheNinth7 opened 1 year ago

TheNinth7 commented 1 year ago

When sending a command to a group with Member Base Type = None, it only works if the group contains only members of type Switch. If it contains a single item of another type, it will not work. However, if Member Base Type = Switch it works even if the group contains members of other types.

Tested this with groups of type Location, an Item of type Equipment/String and items of type Equipment/Switch.

The script I used was prepared via UI with the following action:

actions:
  - inputs: {}
    id: "2"
    configuration:
      itemName: EG
      command: OFF
    type: core.ItemCommandAction
openhab-bot commented 1 year ago

This issue has been mentioned on openHAB Community. There might be relevant details there:

https://community.openhab.org/t/update-status-of-group-members/142601/8

lsiepel commented 5 months ago

I guess this issue is not binding specific and should be transfered to the core repository

jlaur commented 5 months ago

Perhaps @J-N-K, @wborn or @kaikreuzer can help transferring this issue?