Problem with a Contact Rule - maybe someone can help?

I´m using a Window / Door Contact - invisible installation (HmIP-SWDO-I) and wanted to try a few things.
This Rule worked well with my Xiaomi Sensor but i can`t get it to run with the HM-IP Contact:

rule "Test Licht"
when
  Item FensterkontaktKuche1STATE changed
then
  switch FensterkontaktKuche1STATE.state {
    case OPEN: {
      HueLightstripWohnzimmer_Alert.sendCommand("LSELECT")
      HueIrisEssbereich_Alert.sendCommand("LSELECT")
    }
    case CLOSED: { 
      HueLightstripWohnzimmer_Alert.sendCommand("LSELECT")
      HueIrisEssbereich_Alert.sendCommand("LSELECT")
        }
    }
end

on the other Hand - this Rule works as intended…can someone pls explain ?

 rule "Test "
 when
     Item FensterkontaktKuche1STATE changed from CLOSED to OPEN
 then
       HueLightstripWohnzimmer_Alert.sendCommand("LSELECT")
       HueIrisEssbereich_Alert.sendCommand("LSELECT")
end

Would be really nice if someone could explain where the Problem is.
Also the Item from the HM Contact isnt definied as Contact - it is a string Item...dont know if this is correct… ?

String                 FensterkontaktKuche1STATE                    "Testkontakt [MAP(kontakte.map):%s]"    <window> (Fenster, gWindowsClosed)            {channel="homematic:HmIP-SWDO-I:3014F711A0001F58A992FF25:00109A498A0F81:1#STATE"}

This is not a Contact type Item.

This will not work because a String type Item can never have state OPEN.

This will work - if the states are what you expect

switch FensterkontaktKuche1STATE.state {
 case "OPEN": {

I’d guess what you’d really like is to link your homematic channel to a Contact type Item. I don’t know if that works, have a try.