This allows group items who are not exactly the same base item to be included in logic operations, for example a dimmer can now be included in a group switch item.
Merge pull request #1460 from digitaldan/group-item-fix

This allows group items who are not exactly the same base item to be inc...