Added a minimum flag to EntitySensor.