Programmatically Close Simulated Contact Sensor?

Super easy: you just have to use a DTH for the contact sensor which also includes capability.switch. That way when the switch is turned on, the contact sensor is open. When the switch is turned off, the contact sensor is closed. :sunglasses: See the FAQ on the new echo routines: it uses that kind of device.