a few small thing discovery fixes

Signed-off-by: Kai Kreuzer <kai@openhab.org>
Ok, we will add this later.