Xiaomi Binding 2.1 Thing configuratin failures in LOG

After changing things file to new format the errors gone out but in the interface is the discovered items

	Things:
		sensor_magnet_aq2	158d000237c9c0	"Xiaomi Aqara Door/Window Sensor MyRoom"				[itemId="158d000237c9c0"]

	Thing mihome:sensor_magnet_aq2:158d000237c9c0	"Xiaomi Aqara Door/Window Sensor MyRoom"				[itemId="158d000237c9c0"]	

if i specify it in two formats i don’t see it in discovery elements, WHY?

Your bridge and gateway have different id’s
(the documentation shows they can all be the same)

How did you determine the gateway id?

mihome:bridge:34ce00000000
gateway             34ce00907exx

Can someone tell me, if i have to still use a rule to get the xiaomi wireless switch (round one) working?

when xxx triggered
then

Or is this working with a switch item now? I can´t get my wireless switch working. In mi home app i can see the actions inside the log, but in openhab, i don´t get anything. My other sensors (temp) work.

It’s a button (Taster ,DE) and not a switch (Schalter ,DE). Therefore it has not a state and as a stateless device it’s only controllable via rules.

Now i got it working again. I copied the new item format from a temp-sensor (sensor_ht) and only changed the id, so the button was still called sensor_ht instead of sensor_switch…

Now it works again.