tAttributes)), kotlin.Function2((khome.entities.devices.Sensor((khome.extending.entities.sensors.binary.ContactState, khome.extending.entities.sensors.binary.ContactAttributes)), khome.observability.Switchable, kotlin.Unit)))"></a>
<code><span class="keyword">inline</span> <span class="keyword">fun </span><a href="-contact-sensor.html"><span class="identifier">ContactSensor</span></a><span class="symbol">.</span><span class="identifier">onClosed</span><span class="symbol">(</span><span class="keyword">cross