Nothing, it simply doesn’t work that way. Two solutions: 1:
2:
Open issue: https://github.com/openhab/openhab2-addons/issues/310