{ "sensors.InfraredSensor.onEvent": "Registers code to run when an object is getting near.", "sensors.InfraredSensor.onEvent|param|handler": "the code to run when detected", "sensors.InfraredSensor.pauseUntil": "Waits for the event to occur", "sensors.InfraredSensor.proximity": "Get the promixity measured by the infrared sensor, from ``0`` (close) to ``100`` (far)", "sensors.InfraredSensor.remoteCommand": "Get the remote commandreceived the infrared sensor.", "sensors.RemoteInfraredBeaconButton.isPressed": "Check if a remote button is currently pressed or not.", "sensors.RemoteInfraredBeaconButton.onEvent": "Do something when a button or sensor is clicked, up or down", "sensors.RemoteInfraredBeaconButton.onEvent|param|body": "code to run when the event is raised", "sensors.RemoteInfraredBeaconButton.wasPressed": "See if the remote button was pressed again since the last time you checked.", "sensors.remoteButtonBottomLeft": "Remote bottom-left button.", "sensors.remoteButtonBottomRight": "Remote bottom-right button.", "sensors.remoteButtonCenter": "Remote beacon (center) button.", "sensors.remoteButtonTopLeft": "Remote top-left button.", "sensors.remoteButtonTopRight": "Remote top-right button." }